CVE-2009-3002
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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 3 | kernel | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-BOOT | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-doc | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-hugemem | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-hugemem-unsupported | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-smp | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-smp-unsupported | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-source | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-unsupported | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://rhn.redhat.com/errata/RHSA-2009-1540.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-852-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2009-11/msg00007.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00005.html (vendor-advisory)
- https://rhn.redhat.com/errata/RHSA-2009-1550.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2009-11/msg00005.html (vendor-advisory)
References
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7
- http://www.securityfocus.com/archive/1/512019/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11611
- https://rhn.redhat.com/errata/RHSA-2009-1540.html
- http://www.ubuntu.com/usn/USN-852-1
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=519305
- http://secunia.com/advisories/37351
- http://lists.opensuse.org/opensuse-security-announce/2009-11/msg00007.html
- http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00005.html
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f6b97b29513950bfbf621a83d85b6f86b39ec8db
- http://www.securityfocus.com/bid/36150
- http://www.openwall.com/lists/oss-security/2009/08/27/1
- https://rhn.redhat.com/errata/RHSA-2009-1550.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.