aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorXi Wang <xi.wang@gmail.com>2012-04-23 04:06:42 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 08:56:34 -0700
commite469853fcb813790b1d1152122d83a0f2513fc72 (patch)
treeb8f7a6c412d5d9a8fe3c4e479f141e5200dc8ab7 /net/wireless
parentfb247af4ccc4b082dbba85d90a42d31fd48affb2 (diff)
downloadkernel_samsung_smdk4412-e469853fcb813790b1d1152122d83a0f2513fc72.zip
kernel_samsung_smdk4412-e469853fcb813790b1d1152122d83a0f2513fc72.tar.gz
kernel_samsung_smdk4412-e469853fcb813790b1d1152122d83a0f2513fc72.tar.bz2
drm/i915: fix integer overflow in i915_gem_do_execbuffer()
commit 44afb3a04391a74309d16180d1e4f8386fdfa745 upstream. On 32-bit systems, a large args->num_cliprects from userspace via ioctl may overflow the allocation size, leading to out-of-bounds access. This vulnerability was introduced in commit 432e58ed ("drm/i915: Avoid allocation for execbuffer object list"). Signed-off-by: Xi Wang <xi.wang@gmail.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions