Xi Wang 44afb3a043 drm/i915: fix integer overflow in i915_gem_do_execbuffer()
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>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-23 22:32:15 +02:00
..
2012-04-20 11:31:00 -07:00
2012-04-12 15:36:33 -07:00
2012-04-18 11:15:50 -07:00
2012-04-12 15:36:33 -07:00
2012-03-30 00:09:17 -07:00
2012-04-12 15:35:12 -07:00
2012-04-21 12:45:52 -07:00
2012-04-18 13:15:51 -07:00
2012-03-29 18:02:10 -07:00
2012-04-19 15:12:49 -04:00