CVE-2009-3002 json
The Linux kernel before 2.6.31-rc7 does not initialize certain data structures within getname functions, which allows local users to read t…
published 2009-08-28 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-2987
- cvss
- 4.9
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 2
- Exploit-DB
Summary
The Linux kernel before 2.6.31-rc7 does not initialize certain data structures within getname functions, which allows local users to read the contents of some kernel memory locations by calling getsockname on (1) an AF_APPLETALK socket, related to the atalk_getname function in net/appletalk/ddp.c; (2) an AF_IRDA socket, related to the irda_getname function in net/irda/af_irda.c; (3) an AF_ECONET socket, related to the econet_getname function in net/econet/af_econet.c; (4) an AF_NETROM socket, related to the nr_getname function in net/netrom/af_netrom.c; (5) an AF_ROSE socket, related to the rose_getname function in net/rose/af_rose.c; or (6) a raw CAN socket, related to the raw_getname function in net/can/raw.c.
Patch / fix
- linux linux_kernel 2.6.31
- kernel RHEL 3 2.4.21-63.EL
- kernel-smp RHEL 3 2.4.21-63.EL
- kernel-BOOT RHEL 3 2.4.21-63.EL
- kernel-source RHEL 3 2.4.21-63.EL
- kernel-hugemem RHEL 3 2.4.21-63.EL
- kernel-unsupported RHEL 3 2.4.21-63.EL
- kernel-smp-unsupported RHEL 3 2.4.21-63.EL
- kernel-hugemem-unsupported RHEL 3 2.4.21-63.EL
red hat advisories RHSA-2009:1550RHSA-2009:1540
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-3002 updated cvss 2.1
kernel: numerous getname() infoleaks
-
Red Hat MRG Realtime for RHEL 5 Server kernel-rt 2.6.24.7-137.el5rt, kernel-rt-trace 2.6.24.7-137.el5rt, kernel-rt-vanilla 2.6.24.7-137.el5rt, kernel-rt-debuginfo-common 2.6.24.7-137.el5rtfixed: vendor fix RHSA-2009:1540
-
Red Hat Desktop version 3 kernel 2.4.21-63.EL, kernel-smp 2.4.21-63.EL, kernel-BOOT 2.4.21-63.EL, kernel-source 2.4.21-63.EL, kernel-hugemem 2.4.21-63.EL, kernel-unsupported 2.4.21-63.EL, +2 more Red Hat Enterprise Linux AS version 3 kernel 2.4.21-63.EL, kernel-smp 2.4.21-63.EL, kernel-BOOT 2.4.21-63.EL, kernel-source 2.4.21-63.EL, kernel-hugemem 2.4.21-63.EL, kernel-unsupported 2.4.21-63.EL, +2 more Red Hat Enterprise Linux ES version 3 kernel 2.4.21-63.EL, kernel-smp 2.4.21-63.EL, kernel-BOOT 2.4.21-63.EL, kernel-source 2.4.21-63.EL, kernel-hugemem 2.4.21-63.EL, kernel-unsupported 2.4.21-63.EL, +2 more Red Hat Enterprise Linux WS version 3 kernel 2.4.21-63.EL, kernel-smp 2.4.21-63.EL, kernel-BOOT 2.4.21-63.EL, kernel-source 2.4.21-63.EL, kernel-hugemem 2.4.21-63.EL, kernel-unsupported 2.4.21-63.EL, +2 morefixed: vendor fix RHSA-2009:1550
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-9521)
- Published
Exploit prediction
1.03% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-9543 Linux Kernel < 2.6.31-rc7 - 'AF_IRDA' 29-Byte Stack Disclosure (2) local, 2009-08-31
- EDB-9521 Linux Kernel 2.6.30 - 'atalk_getname()' 8-bytes Stack Disclosure (1) local, 2009-08-26
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=519305 referenced PoC, tagged "exploit" by a source, unverified
- securityfocus.com http://www.securityfocus.com/bid/36150 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.9 | AV:L/AC:L/Au:N/C:C/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
-
exploit-db.com
/exploits/9521
exploit, third-party-advisory, vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=519305
exploit, issue-tracking, third-party-advisory
-
securityfocus.com
/bid/36150
vdb-entry, exploit, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2009-1540.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-852-1
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-11/msg00007.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-02/msg00005.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2009-1550.html
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-11/msg00005.html
vendor-advisory, mailing-list, third-party-advisory
-
kernel.org
/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7
vendor-advisory
-
securityfocus.com
/archive/1/512019/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11611
vdb-entry, signature, third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3d392475c873c10c10d6d96b94d092a34ebd4791
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=17ac2e9c58b69a1e25460a568eae1b0dc0188c25
-
secunia.com
/advisories/37351
third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f6b97b29513950bfbf621a83d85b6f86b39ec8db
-
openwall.com
/lists/oss-security/2009/08/27/1
mailing-list, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11741
vdb-entry, signature, third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=80922bbb12a105f858a8f0abb879cb4302d0ecaa
-
secunia.com
/advisories/36438
third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e84b90ae5eb3c112d1f208964df1d8156a538289
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=09384dfc76e526c3993c09c42e016372dc9dd22c
-
secunia.com
/advisories/37105
third-party-advisory
-
openwall.com
/lists/oss-security/2009/08/27/2
mailing-list, third-party-advisory
Sources
- CVE List CVE-2009-3002
- NVD CVE-2009-3002
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.