The Linux kernel before 2.6.31-rc7 does not initialize certain data structures within…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Complete · None · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 2.6.31 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:-:*:*:*:*:*:* | 2.6.31 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc1:*:*:*:*:*:* | 2.6.31 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc2:*:*:*:*:*:* | 2.6.31 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc3:*:*:*:*:*:* | 2.6.31 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc4:*:*:*:*:*:* | 2.6.31 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc5:*:*:*:*:*:* | 2.6.31 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc6:*:*:*:*:*:* | 2.6.31 rc6 | Vulnerable | Linux |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:* | 8.04 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 2.6.31 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:-:*:*:*:*:*:* Versions 2.6.31 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc1:*:*:*:*:*:* Versions 2.6.31 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc2:*:*:*:*:*:* Versions 2.6.31 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc3:*:*:*:*:*:* Versions 2.6.31 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc4:*:*:*:*:*:* Versions 2.6.31 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc5:*:*:*:*:*:* Versions 2.6.31 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc6:*:*:*:*:*:* Versions 2.6.31 rc6 Vulnerable ·Linux
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:* Versions 8.04 Vulnerable ·Canonical
Remediation
Red Hat 2 advisories
- RHSA-2009:1550 Released 2009-11-03 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Desktop version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +14
- Red Hat Enterprise Linux AS version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +22
- Red Hat Enterprise Linux ES version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +18
- Red Hat Enterprise Linux WS version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +18
- RHSA-2009:1540 Released 2009-11-03 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- MRG Realtime for RHEL 5 Server kernel-rt-2.6.24.7-137.el5rt, kernel-rt-debug-2.6.24.7-137.el5rt, kernel-rt-debug-devel-2.6.24.7-137.el5rt +6
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| MRG Realtime for RHEL 5 Server | Fixed | RHSA-2009:1540 |
| Red Hat Desktop version 3 | Fixed | RHSA-2009:1550 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2009:1550 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2009:1550 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2009:1550 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-3002
- 2026-10-03 Alias added: GHSA-6v8v-wc26-56rj
References
Advisory 11
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7
- oval:org.mitre.oval:def:11611
- RHSA-2009:1540
- USN-852-1
- SUSE-SA:2009:056
- SUSE-SA:2010:012
- [oss-security] 20090827 Re: CVE request: kernel: AF_LLC getsockname 5-Byte Stack Disclosure
- RHSA-2009:1550
- oval:org.mitre.oval:def:11741
- SUSE-SA:2009:054
- [oss-security] 20090827 Re: CVE request: kernel: AF_LLC getsockname 5-Byte Stack Disclosure
Other 6
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3d392475c873c10c10d6d96b94d092a34ebd4791
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=17ac2e9c58b69a1e25460a568eae1b0dc0188c25
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f6b97b29513950bfbf621a83d85b6f86b39ec8db
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=80922bbb12a105f858a8f0abb879cb4302d0ecaa
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e84b90ae5eb3c112d1f208964df1d8156a538289
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=09384dfc76e526c3993c09c42e016372dc9dd22c
Sources
- CVE-2009-3002 · CVE Program
- CVE-2009-3002 · NVD
- FIRST EPSS
- GHSA-6v8v-wc26-56rj · GitHub Advisory Database · CC BY 4.0
- CVE-2009-3002 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences