agp-info-leak-in-agpioc_info_wrap.patch removed from -mm tree
Subject: [merged] agp-info-leak-in-agpioc_info_wrap.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 07 May 2014 12:05:21 -0700
The patch titled
Subject: agp: info leak in agpioc_info_wrap()
has been removed from the -mm tree. Its filename was
agp-info-leak-in-agpioc_info_wrap.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Dan Carpenter <[email protected]>
Subject: agp: info leak in agpioc_info_wrap()
On 64 bit systems the agp_info struct has a 4 byte hole between ->agp_mode and ->aper_base. We need to clear it to avoid disclosing stack information to userspace.
---
drivers/char/agp/frontend.c | 1 + 1 file changed, 1 insertion(+)
drivers/char/agp/frontend.c renamed from drivers/char/agp/frontend.c~agp-info-leak-in-agpioc_info_wrap +1 -0
@@ -730,6 +730,7 @@ static int agpioc_info_wrap(struct agp_fagp_copy_info (agp_bridge, &kerninfo); +memset (&userinfo,0 ,sizeof (userinfo)); userinfo.version.major = kerninfo.version.major; userinfo.version.minor = kerninfo.version.minor; userinfo.bridge_id = kerninfo.device->vendor |
_
Patches currently in -mm which might be from [email protected] are
origin.patch lib-stringc-use-the-name-c-string-in-comments.patch linux-next.patch