diff options
| author | Vasiliy Kulikov <[email protected]> | 2011-04-14 16:55:16 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2011-04-21 02:16:55 +0000 |
| commit | 194b3da873fd334ef183806db751473512af29ce (patch) | |
| tree | cb6ac3d05ba2e0a07c02ea1cef0e41477ea29d2b /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | agp: fix OOM and buffer overflow (diff) | |
| download | kernel-194b3da873fd334ef183806db751473512af29ce.tar.gz kernel-194b3da873fd334ef183806db751473512af29ce.zip | |
agp: fix arbitrary kernel memory writes
pg_start is copied from userspace on AGPIOC_BIND and AGPIOC_UNBIND ioctl
cmds of agp_ioctl() and passed to agpioc_bind_wrap(). As said in the
comment, (pg_start + mem->page_count) may wrap in case of AGPIOC_BIND,
and it is not checked at all in case of AGPIOC_UNBIND. As a result, user
with sufficient privileges (usually "video" group) may generate either
local DoS or privilege escalation.
Signed-off-by: Vasiliy Kulikov <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
