Files
linux/drivers
Xi Wang fb247af4cc drm/i915: fix integer overflow in i915_gem_execbuffer2()
commit ed8cd3b2cd upstream.

On 32-bit systems, a large args->buffer_count from userspace via ioctl
may overflow the allocation size, leading to out-of-bounds access.

This vulnerability was introduced in commit 8408c282 ("drm/i915:
First try a normal large kmalloc for the temporary exec buffers").

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>
2012-05-07 08:56:33 -07:00
..
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-04-13 08:14:05 -07:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2011-11-21 14:31:14 -08:00