Skip to main content
Mallory
HighPublic exploit

Linux Kernel sock_sendpage NULL Pointer Dereference Privilege Escalation

IdentifiersCVE-2009-2692CWE-908· Use of Uninitialized Resource

CVE-2009-2692 is a local privilege escalation vulnerability in the Linux kernel affecting 2.6.0 through 2.6.30.4 and 2.4.4 through 2.4.37.4. The flaw exists because not all function pointers for socket operations are initialized in proto_ops structures. A local user can trigger dereference of an uninitialized/NULL handler by invoking an unavailable socket operation, demonstrated with the sendpage operation via sock_sendpage on a PF_PPPOX socket. By first using mmap to map page zero and placing attacker-controlled code at that address, the attacker can turn the NULL pointer dereference into controlled kernel-mode code execution and escalate privileges.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a local attacker to execute arbitrary code in kernel context and obtain elevated privileges, typically root. This results in full compromise of the affected host, including complete loss of confidentiality, integrity, and availability. Absent successful redirection to attacker code, the flaw can also cause a kernel crash via NULL pointer dereference.

Mitigation

If you can’t patch tonight, do this now.

Restrict local shell access to trusted users until patched, since exploitation is local. Prevent or harden mappings of page zero where supported by platform policy, and disable or restrict access to vulnerable/unneeded socket families such as PF_PPPOX if operationally feasible. In virtualized/cloud environments, ensure instances are running updated vendor kernels and reboot/relaunch systems so mitigations take effect.

Remediation

Patch, then assume compromise.

Upgrade to a fixed Linux kernel release. The provided content indicates fixes are available in 2.6.30.5 and 2.4.37.5, and downstream vendors including Red Hat and Debian issued advisories. In affected EC2 environments, update to the patched 2.6.18 or 2.6.21 kernels/AKIs/ARIs provided by AWS and relaunch or update affected instances so they boot the corrected kernel.
PUBLIC EXPLOITS

Exploits

No valid public exploits. Mallory filtered out 7 candidates as fakes, detection scripts, or README-only repos.

VALID 0 / 7 TOTALView more in app

All candidate exploits were filtered out by Mallory's validation.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
DebianDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
Red HatEnterprise Linux Desktopoperating_system
Red HatEnterprise Linux Eusoperating_system
Red HatEnterprise Linux Serveroperating_system
Red HatEnterprise Linux Server Ausoperating_system
Red HatEnterprise Linux Workstationoperating_system
SuseLinux Enterprise Real Timeoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware1

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.