Revision a5cd335165e31db9dbab636fd29895d41da55dd2 authored by Xi Wang on 23 November 2011, 06:12:01 UTC, committed by Dave Airlie on 23 November 2011, 08:59:28 UTC
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>
1 parent c916874
File | Mode | Size |
---|---|---|
6fire | ||
caiaq | ||
misc | ||
usx2y | ||
Kconfig | -rw-r--r-- | 3.3 KB |
Makefile | -rw-r--r-- | 521 bytes |
card.c | -rw-r--r-- | 19.3 KB |
card.h | -rw-r--r-- | 4.8 KB |
clock.c | -rw-r--r-- | 9.0 KB |
clock.h | -rw-r--r-- | 316 bytes |
debug.h | -rw-r--r-- | 262 bytes |
endpoint.c | -rw-r--r-- | 25.9 KB |
endpoint.h | -rw-r--r-- | 711 bytes |
format.c | -rw-r--r-- | 14.6 KB |
format.h | -rw-r--r-- | 317 bytes |
helper.c | -rw-r--r-- | 2.8 KB |
helper.h | -rw-r--r-- | 1.1 KB |
midi.c | -rw-r--r-- | 62.6 KB |
midi.h | -rw-r--r-- | 1.5 KB |
mixer.c | -rw-r--r-- | 61.6 KB |
mixer.h | -rw-r--r-- | 1.8 KB |
mixer_maps.c | -rw-r--r-- | 11.8 KB |
mixer_quirks.c | -rw-r--r-- | 18.0 KB |
mixer_quirks.h | -rw-r--r-- | 367 bytes |
pcm.c | -rw-r--r-- | 25.8 KB |
pcm.h | -rw-r--r-- | 379 bytes |
power.h | -rw-r--r-- | 375 bytes |
proc.c | -rw-r--r-- | 6.0 KB |
proc.h | -rw-r--r-- | 211 bytes |
quirks-table.h | -rw-r--r-- | 64.6 KB |
quirks.c | -rw-r--r-- | 22.3 KB |
quirks.h | -rw-r--r-- | 682 bytes |
stream.c | -rw-r--r-- | 12.9 KB |
stream.h | -rw-r--r-- | 286 bytes |
usbaudio.h | -rw-r--r-- | 2.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...