CVE-2009-2692
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 14.6% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 14.6% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 14.6% · EPSS, next 30 days
- Weakness
- CWE-908
- Record status
- Modified
Affected
- Linux Kernel < 2.4.37.5
- Linux Kernel < 2.6.30.5
- Debian Linux 4.0
- Suse Linux Enterprise Real Time 10
- Redhat Enterprise Linux Desktop 4.0
- Redhat Enterprise Linux Desktop 5.0
- Redhat Enterprise Linux Eus 4.8
- Redhat Enterprise Linux Eus 5.3
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-2692.md and follow it. Check whether this project is affected by CVE-2009-2692. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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://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.openwall.com/lists/oss-security/2009/08/14/1
References
- 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