CVE-2009-2691

Summary

CVECVE-2009-2691
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-08-14 15:16:27 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe mm_for_maps function in fs/proc/base.c in the Linux kernel 2.6.30.4 and earlier allows local users to read (1) maps and (2) smaps files under proc/ via vectors related to ELF loading, a setuid process, and a race condition.

Risk And Classification

Primary CVSS: v2.0 2.1 from [email protected]

AV:L/AC:L/Au:N/C:P/I:N/A:N

Problem Types: CWE-200 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:L/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 2.6.30 All All All
Operating System Linux Linux Kernel 2.6.30 rc1 All All
Operating System Linux Linux Kernel 2.6.30 rc2 All All
Operating System Linux Linux Kernel 2.6.30 rc3 All All
Operating System Linux Linux Kernel 2.6.30 rc5 All All
Operating System Linux Linux Kernel 2.6.30 rc6 All All
Operating System Linux Linux Kernel 2.6.30 rc7-git6 All All
Operating System Linux Linux Kernel 2.6.30.1 All All All
Operating System Linux Linux Kernel 2.6.30.2 All All All
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
LKML: Oleg Nesterov: [PATCH 0/1] mm_for_maps: simplify, use ptrace_may_access() af854a3a-2127-422b-91ae-364da2661108 lkml.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Debian -- Security Information -- DSA-2005-1 linux-2.6.24 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[SECURITY] Fedora 11 Update: kernel-2.6.29.6-217.2.16.fc11 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Linux Kernel "mm_for_maps()" Information Disclosure - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Fedora update for kernel - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
504 Gateway Time-out af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
oss-security - CVE-2009-2691 kernel: /proc/$pid/maps visible during initial setuid ELF loading af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
516171 – (CVE-2009-2691) CVE-2009-2691 kernel: /proc/$pid/maps visible during initial setuid ELF loading af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
'[PATCH 1/2] mm_for_maps: shift down_read(mmap_sem) to the caller' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Patch
LKML: Oleg Nesterov: [PATCH 1/1] mm_for_maps: simplify, use ptrace_may_access() af854a3a-2127-422b-91ae-364da2661108 lkml.org Patch
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
'[PATCH 2/2] mm_for_maps: take ->cred_guard_mutex to fix the race' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Patch
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2009-11-04Mark J CoxThe Red Hat Security Response Team has rated this issue as having moderate security impact. We currently have no plans to fix this flaw in Red Hat Enterprise Linux 3, 4, and 5 as it is not possible to trigger the information leak if the suid_dumpable tunable is set to zero (which is the default). It was addressed in Red Hat Enterprise MRG via: https://rhn.redhat.com/errata/RHSA-2009-1540.html

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report