summaryrefslogtreecommitdiff
path: root/drivers/char/snsc.h
diff options
context:
space:
mode:
authorVasiliy Kulikov <segoon@openwall.com>2011-04-14 16:55:16 (GMT)
committerDave Airlie <airlied@redhat.com>2011-04-21 02:16:55 (GMT)
commit194b3da873fd334ef183806db751473512af29ce (patch)
treecb6ac3d05ba2e0a07c02ea1cef0e41477ea29d2b /drivers/char/snsc.h
parentb522f02184b413955f3bc952e3776ce41edc6355 (diff)
downloadlinux-fsl-qoriq-194b3da873fd334ef183806db751473512af29ce.tar.xz
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 <segoon@openwall.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/snsc.h')
0 files changed, 0 insertions, 0 deletions