summaryrefslogtreecommitdiff
path: root/tests/drmtest.c
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2008-10-25 12:11:44 -0400
committerRobert Noland <rnoland@2hip.net>2008-10-25 12:15:50 -0400
commit1d930fc75b99a89fc77d35d8f95f2877cfd5d7f0 (patch)
tree7f3817e37a5ca74d83c95d5e86d72f01ff3e30ee /tests/drmtest.c
parentb7d54b1dba8eba24da1b9cdd2116a26b98365b81 (diff)
drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831)
Olaf Kirch noticed that the i915_set_status_page() function of the i915 kernel driver calls ioremap with an address offset that is supplied by userspace via ioctl. The function zeroes the mapped memory via memset and tells the hardware about the address. Turns out that access to that ioctl is not restricted to root so users could probably exploit that to do nasty things. We haven't tried to write actual exploit code though. It only affects the Intel G33 series and newer.
Diffstat (limited to 'tests/drmtest.c')
0 files changed, 0 insertions, 0 deletions