]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:57:00 +0000 (10:57 -0700)
commitbdfbcb0b2409a9bb5702944be5d809a730724163
tree663980d3927347af1e9619712f1c911ffd16b316
parent52c540c12d84ff014b5e9151daed80d67740a13a
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