Vasiliy Kulikov 194b3da873 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>
2011-04-21 12:16:55 +10:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00
2011-03-23 19:46:38 -07:00
2011-03-23 19:46:38 -07:00
2011-03-31 11:26:23 -03:00
2011-03-23 19:46:40 -07:00
2010-10-15 15:53:27 +02:00
2011-02-02 15:28:19 +01:00
2010-10-15 15:53:27 +02:00
2011-03-31 11:26:23 -03:00
2011-01-13 08:03:23 -08:00
2011-03-31 11:26:23 -03:00
2011-01-10 08:51:44 -08:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00