Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | linux-2.6 | 2.6.26-17lenny2 | DSA-1862-1 |
| Debian 4.0 | fai-kernels | 1.17+etch.24etch3 | DSA-1865-1 |
| Debian 4.0 | linux-2.6 | 2.6.18.dfsg.1-24etch3 | DSA-1865-1 |
| Debian 4.0 | linux-2.6.24 | 2.6.24-6~etchnhalf.8etch3 | DSA-1864-1 |
| Debian 4.0 | user-mode-linux | 2.6.18-1um-2etch.24etch3 | DSA-1865-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | kernel +12 | 2.6.18-128.7.1.el5 | RHSA-2009:1222 |
| RHEL 4 | kernel +10 | 2.6.9-89.0.9.EL | RHSA-2009:1223 |
| RHEL 3 | kernel +8 | 2.4.21-60.EL | RHSA-2009:1233 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5.2 EUS | kernel +12 | 2.6.18-92.1.28.el5 | RHSA-2009:1457 |
| RHEL 4.7 EUS | kernel +10 | 2.6.9-78.0.27.EL | RHSA-2009:1469 |
| Red Hat MRG 1 | kernel-rt +9 | 2.6.24.7-132.el5rt | RHSA-2009:1239 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Linux Kernel Sendpage Local Privilege Escalation
exploit/linux/local/sock_sendpage
Exploit-DB 8
- Linux Kernel 2.4.4 < 2.4.37.4 / 2.6.0 < 2.6.30.4 - 'Sendpage' Local Privilege Escalation (Metasploit) EDB-19933 · local · Jul 19, 2012 · verified
- Linux Kernel 2.4/2.6 - 'sock_sendpage()' Local Privilege Escalation (3) EDB-9641 · local · Sep 11, 2009 · verified
- Linux Kernel 2.4/2.6 (Fedora 11) - 'sock_sendpage()' Local Privilege Escalation (2) EDB-9598 · local · Sep 9, 2009 · 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 Escalation EDB-9545 · local · Aug 31, 2009 · verified
- Linux Kernel 2.4/2.6 (RedHat Linux 9 / Fedora Core 4 < 11 / Whitebox 4 / CentOS 4) - 'sock_sendpage()' Ring0 Privilege Escalation (5) EDB-9479 · local · Aug 24, 2009 · verified
- Linux Kernel 2.x (Android) - 'sock_sendpage()' Local Privilege Escalation EDB-9477 · local · Aug 18, 2009 · verified
- Linux Kernel 2.x (RedHat) - 'sock_sendpage()' Ring0 Privilege Escalation (1) EDB-9435 · local · Aug 14, 2009 · verified
- Linux Kernel 2.x - 'sock_sendpage()' Local Privilege Escalation (4) EDB-9436 · local · Aug 14, 2009 · verified
GitHub 1 repository
-
jdvalentini/CVE-2009-2692 ★ 0 · Jul 12, 2018
Linux Null pointer dereference
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 9
- RHSA-2009:1469 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2009:1457 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2009:1239 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2009:1233 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2009:1222 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2009:1223 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DSA-1862-1 linux-2.6 - privilege escalation Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1864-1 linux-2.6.24 - privilege escalation Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1865-1 fai-kernels linux-2.6 user-mode-linux - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- RHSA-2009:1233 vendor-advisory
- 36278 third-party-advisory
- DSA-1865 vendor-advisory
- RHSA-2009:1223 vendor-advisory
- 20100625 VMSA-2010-0010 ESX 3.5 third party update for Service Console kernel mailing-list
- http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.37.5
- 37298 third-party-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0121
- 36430 third-party-advisory
- 37471 third-party-advisory
- RHSA-2009:1222 vendor-advisory
- 20090813 Linux NULL pointer dereference due to incorrect proto_ops initializations mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=516949
- https://issues.rpath.com/browse/RPL-3103
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- 19933 exploit
- ADV-2009-2272 vdb-entry
- SUSE-SR:2009:015 vendor-advisory
- 20090813 Linux NULL pointer dereference due to incorrect proto_ops initializations mailing-list
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e694958388c50148389b0e9b9e9e8945cf0f1b98
- 36289 third-party-advisory
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components mailing-list
- 36327 third-party-advisory
- http://support.avaya.com/css/P8/documents/100067254
- http://grsecurity.net/~spender/wunderbar_emporium.tgz
- oval:org.mitre.oval:def:11591 vdb-entry signature
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.37.y.git%3Ba=commit%3Bh=c18d0fe535a73b219f960d1af3d0c264555a12e3
- oval:org.mitre.oval:def:11526 vdb-entry signature
- MDVSA-2009:233 vendor-advisory
- 9477 exploit
- http://blog.cr0.org/2009/08/linux-null-pointer-dereference-due-to.html
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc6
- oval:org.mitre.oval:def:8657 vdb-entry signature
- [oss-security] 20090814 CVE-2009-2692 kernel: uninit op in SOCKOPS_WRAP() leads to privesc mailing-list
- 36038 vdb-entry
- 20090818 rPSA-2009-0121-1 kernel open-vm-tools mailing-list
- http://zenthought.org/content/file/android-root-2009-08-16-source
- ADV-2009-3316 vdb-entry
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.30.5