Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-2692 EUVD-2009-2685GHSA-j86m-g62r-5g7r

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 pro…

Published Aug 14, 2009 · Updated Aug 7, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References