What’s Vulnerable › Vulnerabilities
CVE-2009-3001
- Severity: medium (CVSS 4.9 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2009-08-28 · updated 2026-06-16
- Weakness: CWE-200
Description
The llc_ui_getname function in net/llc/af_llc.c in the Linux kernel 2.6.31-rc7 and earlier does not initialize a certain data structure, which allows local users to read the contents of some kernel memory locations by calling getsockname on an AF_LLC socket.
Affected products
- Canonical Ubuntu Linux: 6.06, 8.04, 8.10, 9.04
- Linux kernel: before 2.6.31; 2.6.31, 2.6.31-rc1, 2.6.31-rc2, 2.6.31-rc3, 2.6.31-rc4, 2.6.31-rc5 (+1) — fixed in 2.6.31
How to fix
Upgrade to a fixed version: Linux kernel 2.6.31. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=28e9fc592cb8c7a43e4d3147b38be6032a0e81bc
- http://jon.oberheide.org/files/llc-getsockname-leak.c
- http://secunia.com/advisories/37105
- http://www.exploit-db.com/exploits/9513
- http://www.openwall.com/lists/oss-security/2009/08/26/1
- http://www.securityfocus.com/bid/36126
- http://www.ubuntu.com/usn/USN-852-1
- https://bugzilla.redhat.com/show_bug.cgi?id=519305
- https://exchange.xforce.ibmcloud.com/vulnerabilities/52732
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=28e9fc592cb8c7a43e4d3147b38be6032a0e81bc
- http://jon.oberheide.org/files/llc-getsockname-leak.c
- http://secunia.com/advisories/37105
Get alerted when CVE-2009-3001 or the next vulnerability affects your stack