high7.8Public exploit code
CVE-2009-2692
The Linux kernel 2.6.0 through 2.6.30.4, and 2.4.4 through 2.4.37.4, does not initialize all function pointers for socket operations in proto_ops structures, w…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Linux Kernel 2.4.4 < 2.4.37.4 / 2.6.0 < 2.6.30.4 - 'Sendpage' Local Privilege Escalation (Metasploit)2012-07-19 · local · linux · Verified
- Linux Kernel 2.4/2.6 - 'sock_sendpage()' Local Privilege Escalation (3)2009-09-11 · local · linux · Verified
- Linux Kernel 2.4/2.6 (Fedora 11) - 'sock_sendpage()' Local Privilege Escalation (2)2009-09-09 · local · linux · Verified
- Linux Kernel 2.4.x/2.6.x (CentOS 4.8/5.3 / RHEL 4.8/5.3 / SuSE 10 SP2/11 / Ubuntu 8.10) (PPC) - 'sock_sendpage()' Local Privilege Escalation2009-08-31 · local · linux · Verified
- Linux Kernel 2.4/2.6 (RedHat Linux 9 / Fedora Core 4 < 11 / Whitebox 4 / CentOS 4) - 'sock_sendpage()' Ring0 Privilege Escalation (5)2009-08-24 · local · linux · Verified
- Linux Kernel 2.x (Android) - 'sock_sendpage()' Local Privilege Escalation2009-08-18 · local · android · Verified
- Linux Kernel 2.x - 'sock_sendpage()' Local Privilege Escalation (4)2009-08-14 · local · linux · Verified
- Linux Kernel 2.x (RedHat) - 'sock_sendpage()' Ring0 Privilege Escalation (1)2009-08-14 · local · linux · Verified
Impact
The Linux kernel 2.6.0 through 2.6.30.4, and 2.4.4 through 2.4.37.4, does not initialize all function pointers for socket operations in proto_ops structures, which allows local users to trigger a NULL pointer dereference and gain privileges by using mmap to map page zero, placing arbitrary code on this page, and then invoking an unavailable operation, as demonstrated by the sendpage operation (sock_sendpage function) on a PF_PPPOX socket.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 2.4.4 before 2.4.37.5 from 2.6.0 before 2.6.30.5 |
| Debian | Debian Linux | Version 4.0 |
| Suse | Linux Enterprise Real Time | Version 10 |
| Redhat | Enterprise Linux Desktop | Versions 4.0, 5.0 |
| Redhat | Enterprise Linux Eus | Versions 4.8, 5.3 |
| Redhat | Enterprise Linux Server | Versions 4.0, 5.0 |
| Redhat | Enterprise Linux Server Aus | Version 5.3 |
| Redhat | Enterprise Linux Workstation | Versions 4.0, 5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- http://archives.neohapsis.com/archives/fulldisclosure/2009-08/0174.html
- http://blog.cr0.org/2009/08/linux-null-pointer-dereference-due-to.html
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.37.y.git%3Ba=commit%3Bh=c18d0fe535a73b219f960d1af3d0c264555a12e3
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e694958388c50148389b0e9b9e9e8945cf0f1b98
- http://grsecurity.net/~spender/wunderbar_emporium.tgz
- http://lists.opensuse.org/opensuse-security-announce/2009-09/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2009-1222.html
- http://rhn.redhat.com/errata/RHSA-2009-1223.html
- http://secunia.com/advisories/36278
- http://secunia.com/advisories/36289
- http://secunia.com/advisories/36327
- http://secunia.com/advisories/36430
- http://secunia.com/advisories/37298
- http://secunia.com/advisories/37471
- http://support.avaya.com/css/P8/documents/100067254
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0121
- http://www.debian.org/security/2009/dsa-1865
- http://www.exploit-db.com/exploits/19933
- http://www.exploit-db.com/exploits/9477
- http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.37.5
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.30.5
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc6
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:233
- http://www.openwall.com/lists/oss-security/2009/08/14/1
- http://www.redhat.com/support/errata/RHSA-2009-1233.html