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…
Check your servers for CVE-2009-2692
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-2692 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 14.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.3% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-2692 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-2692RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-2692Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-2692
trivy image --scanners vuln IMAGE | grep CVE-2009-2692
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2009:1233 redhat.com · vendor advisory
- 36278 secunia.com · third party advisory
- DSA-1865 debian.org · vendor advisory
- RHSA-2009:1223 rhn.redhat.com · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.37.5 kernel.org
- 37298 secunia.com · third party advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0121 wiki.rpath.com
- 36430 secunia.com · third party advisory
- 37471 secunia.com · third party advisory
- RHSA-2009:1222 rhn.redhat.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=516949 bugzilla.redhat.com
- https://issues.rpath.com/browse/RPL-3103 issues.rpath.com
10 more
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html vmware.com
- SUSE-SR:2009:015 lists.opensuse.org · vendor advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e694958388c50148389b0e9b9e9e8945cf0f1b98 git.kernel.org
- 36289 secunia.com · third party advisory
- 36327 secunia.com · third party advisory
- http://support.avaya.com/css/P8/documents/100067254 support.avaya.com
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.37.y.git%3Ba=commit%3Bh=c18d0fe535a73b219f960d1af3d0c264555a12e3 git.kernel.org
- MDVSA-2009:233 mandriva.com · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc6 kernel.org
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.30.5 kernel.org
Exploits and proof of concept
Other references
- 20100625 VMSA-2010-0010 ESX 3.5 third party update for Service Console kernel securityfocus.com · mailing list
- 20090813 Linux NULL pointer dereference due to incorrect proto_ops initializations archives.neohapsis.com · mailing list
- ADV-2009-2272 vupen.com · vdb entry
- 20090813 Linux NULL pointer dereference due to incorrect proto_ops initializations securityfocus.com · mailing list
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue… securityfocus.com · mailing list
- http://grsecurity.net/~spender/wunderbar_emporium.tgz grsecurity.net
- oval:org.mitre.oval:def:11591 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:11526 oval.cisecurity.org · vdb entry, signature
- http://blog.cr0.org/2009/08/linux-null-pointer-dereference-due-to.html blog.cr0.org
- oval:org.mitre.oval:def:8657 oval.cisecurity.org · vdb entry, signature
- [oss-security] 20090814 CVE-2009-2692 kernel: uninit op in SOCKOPS_WRAP() leads to privesc openwall.com · mailing list
- 36038 securityfocus.com · vdb entry
- 20090818 rPSA-2009-0121-1 kernel open-vm-tools securityfocus.com · mailing list
- http://zenthought.org/content/file/android-root-2009-08-16-source zenthought.org
- ADV-2009-3316 vupen.com · vdb entry
Source: the record CVE-2009-2692 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse