4.9
CVSSv2

CVE-2009-3002

Published: 28/08/2009 Updated: 07/11/2023
CVSS v2 Base Score: 4.9 | Impact Score: 6.9 | Exploitability Score: 3.9
VMScore: 500
Vector: AV:L/AC:L/Au:N/C:C/I:N/A:N

Vulnerability Summary

The Linux kernel prior to 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.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

linux linux kernel 2.6.31

linux linux kernel

canonical ubuntu linux 6.06

canonical ubuntu linux 9.04

canonical ubuntu linux 8.04

canonical ubuntu linux 8.10

Vendor Advisories

Solar Designer discovered that the z90crypt driver did not correctly check capabilities A local attacker could exploit this to shut down the device, leading to a denial of service Only affected Ubuntu 606 (CVE-2009-1883) ...
Several vulnerabilities have been discovered in the Linux kernel that may lead to a denial of service, sensitive memory leak or privilege escalation The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2009-2846 Michael Buesch noticed a typing issue in the eisa-eeprom driver for the hppa architecture Lo ...

Exploits

Linux 26 kernel versions prior to 2631-rc7 AF_IRDA 29 byte stack disclosure exploit ...
/* * cve-2009-3002c * * Linux Kernel < 2631-rc7 AF_IRDA getsockname 29-Byte Stack Disclosure * Jon Oberheide <jon@oberheideorg> * jonoberheideorg * * Information: * * webnvdnistgov/view/vuln/detail?vulnId=CVE-2009-3002 * * The Linux kernel before 2631-rc7 does not initialize certain data * st ...
/** * appleakc * * Linux keunouille <= 2630 * * AppleTalk getsockname() 8-bytes kernel stack disclosure * * gitkernelorg/?p=linux/kernel/git/torvalds/linux-26git;a=commit;h=3d392475c873c10c10d6d96b94d092a34ebd4791 * * atalk_getname() can leak 8 bytes of kernel memory to user * * [clem1@noe ~]$ /appleak * 1e 83 f2 31 ec ...

References

CWE-200http://www.openwall.com/lists/oss-security/2009/08/27/1http://secunia.com/advisories/36438https://bugzilla.redhat.com/show_bug.cgi?id=519305http://www.openwall.com/lists/oss-security/2009/08/27/2http://www.securityfocus.com/bid/36150https://rhn.redhat.com/errata/RHSA-2009-1550.htmlhttps://rhn.redhat.com/errata/RHSA-2009-1540.htmlhttp://lists.opensuse.org/opensuse-security-announce/2009-11/msg00007.htmlhttp://secunia.com/advisories/37351http://lists.opensuse.org/opensuse-security-announce/2009-11/msg00005.htmlhttp://lists.opensuse.org/opensuse-security-announce/2010-02/msg00005.htmlhttp://secunia.com/advisories/37105http://www.ubuntu.com/usn/USN-852-1http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11741https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11611http://www.exploit-db.com/exploits/9521http://www.securityfocus.com/archive/1/512019/100/0/threadedhttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3d392475c873c10c10d6d96b94d092a34ebd4791http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=17ac2e9c58b69a1e25460a568eae1b0dc0188c25http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f6b97b29513950bfbf621a83d85b6f86b39ec8dbhttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=80922bbb12a105f858a8f0abb879cb4302d0ecaahttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e84b90ae5eb3c112d1f208964df1d8156a538289http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=09384dfc76e526c3993c09c42e016372dc9dd22chttps://nvd.nist.govhttps://usn.ubuntu.com/852-1/https://www.exploit-db.com/exploits/9543/