agp: zero pages before sending to userspace
authorShaohua Li <shaohua.li@intel.com>
Mon, 20 Apr 2009 00:08:35 +0000 (10:08 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:24:33 +0000 (10:24 -0700)
commit28adca7b3ca1cfd63b01e1a8da30a234282aa05c
treea85721333879816b66c75dc894bc6cc683cb332e
parent7441eb5de330b68535f68c0427f80fcb76040193
agp: zero pages before sending to userspace

upstream commit: 59de2bebabc5027f93df999d59cc65df591c3e6e

CVE-2009-1192

AGP pages might be mapped into userspace finally, so the pages should be
set to zero before userspace can use it. Otherwise there is potential
information leakage.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/agp/generic.c