Revision e94bd1736f1f60e916a85a80c0b0ebeaae36cce5 authored by Michel Dänzer on 30 November 2016, 08:30:01 UTC, committed by Daniel Vetter on 30 November 2016, 09:13:00 UTC
Fixes oops if userspace calls DRM_IOCTL_GET_CAP for
 DRM_CAP_PAGE_FLIP_TARGET on a non-KMS device node. (Normal userspace
doesn't do that, discovered by syzkaller)

Reported-by: Dmitry Vyukov <dvyukov@google.com>
Fixes: f837297ad824 ("drm: Add DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags v2")
Cc: stable@vger.kernel.org
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161130083002.1520-1-michel@daenzer.net
1 parent e5517c2
History
File Mode Size
.gitignore -rw-r--r-- 6 bytes
3CCFEM556.cis.ihex -rw-r--r-- 469 bytes
3CXEM556.cis.ihex -rw-r--r-- 463 bytes
COMpad2.cis.ihex -rw-r--r-- 363 bytes
COMpad4.cis.ihex -rw-r--r-- 276 bytes
DP83903.cis.ihex -rw-r--r-- 499 bytes
LA-PCM.cis.ihex -rw-r--r-- 758 bytes
MT5634ZLX.cis.ihex -rw-r--r-- 363 bytes
NE2K.cis.ihex -rw-r--r-- 233 bytes
PCMLM28.cis.ihex -rw-r--r-- 662 bytes
PE-200.cis.ihex -rw-r--r-- 255 bytes
PE520.cis.ihex -rw-r--r-- 266 bytes
RS-COM-2P.cis.ihex -rw-r--r-- 307 bytes
SW_555_SER.cis.ihex -rw-r--r-- 412 bytes
SW_7xx_SER.cis.ihex -rw-r--r-- 460 bytes
SW_8xx_SER.cis.ihex -rw-r--r-- 444 bytes
tamarack.cis.ihex -rw-r--r-- 311 bytes

back to top