Xi Wang a5cd335165 drm: integer overflow in drm_mode_dirtyfb_ioctl()
There is a potential integer overflow in drm_mode_dirtyfb_ioctl()
if userspace passes in a large num_clips.  The call to kmalloc would
allocate a small buffer, and the call to fb->funcs->dirty may result
in a memory corruption.

Reported-by: Haogang Chen <haogangchen@gmail.com>
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-23 08:59:28 +00:00
..
2010-08-10 08:20:20 +10:00
2011-05-09 09:14:45 +10:00
2011-02-07 13:09:42 +10:00
2011-10-20 15:26:39 -07:00
2011-02-07 12:14:18 +10:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00