diff options
author | Matthias Hopf <mhopf@suse.de> | 2008-10-18 07:18:05 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-22 14:21:29 -0700 |
commit | f8d61d1be61999a76cb207125d3bfb1885cd40eb (patch) | |
tree | ae6e25e9534716d5cff2c397e432ac9d543b5d61 /Documentation | |
parent | ee3b0b543db121a5fe144d755fcb7c0429d1fa50 (diff) |
drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831)
commit 4b40893918203ee1a1f6a114316c2a19c072e9bd upstream
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.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions