Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2009-2692: Linux Kernel Socket Operations NULL Pointer Dereference Privilege Escalation

Published Aug 14, 2009 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS14.6%97th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectRed HatLinuxSuse
IdentifiersCVE-2009-2692CWE-456

CVE-2009-2692 is a local privilege-escalation vulnerability affecting unpatched Linux kernels 2.6.0 through 2.6.30.4 and 2.4.4 through 2.4.37.4. Incomplete initialization of socket-operation function pointers in proto_ops structures leaves unavailable operations referencing NULL handlers. A local user can map page zero using mmap, place arbitrary code there, and invoke an unavailable operation to execute code with elevated privileges. The demonstrated exploitation path uses sock_sendpage with a PF_PPPOX socket. Triggering the NULL pointer dereference can also cause a crash.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

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

Successful exploitation permits local privilege escalation and arbitrary code execution with elevated privileges, including root privileges on affected EC2 instances. This can compromise the affected operating system and its sensitive data and processes. The NULL pointer dereference can also cause a crash and disrupt availability.

Mitigation

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

For affected EC2 deployments, update AMIs to use the patched kernels and relaunch affected instances, ensuring that running instances use the updated kernel and applicable AKI and ARI images. A separate temporary workaround is not specified.

Remediation

Patch, then assume compromise.

Apply a vendor kernel update addressing CVE-2009-2692. Upstream fixes are available in Linux 2.6.30.5 and 2.4.37.5; the 2.6.31-rc6 development release also includes a fix. For affected EC2 deployments, use the patched 2.6.18 or 2.6.21 kernels and update AMIs, AKIs, and ARIs as applicable. Relaunch affected instances with the updated images and verify that they are running patched kernels.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 7 not yet analyzed, such as Exploit-DB entries.

View more in app →
sock_sendpage.rbThis repository contains a single Metasploit module (sock_sendpage.rb) that exploits a local privilege escalation vulnerability in the Linux kernel (CVE-2009-2692, also known as 'EXACTCHANGE'). The vulnerability is due to improper initialization in the proto_ops struct, allowing a NULL pointer dereference and arbitrary code execution in kernel context if page 0 is mapped. The exploit targets Linux x86 systems running kernel versions 2.4.4 through 2.4.37.4 and 2.6.0 through 2.6.30.4. The module checks for kernel version, architecture, and the mmap_min_addr setting before attempting exploitation. It generates a custom ELF binary containing shellcode (payload) and writes it to a writable directory (default: /tmp), then executes it to gain root privileges. The payload is customizable via Metasploit and can provide a root shell or meterpreter session. The module is operational and requires local access to the target system. No network endpoints are involved; all actions are performed locally on the compromised host.Disclosed Aug 13, 2009 · Framework: metasploit · ruby · localWeaponized2009This repository is a collection of 17 files covering five historical Linux-kernel local privilege-escalation CVEs: CVE-2009-1185, CVE-2009-1337, CVE-2009-2692, CVE-2009-2698, and CVE-2009-3547. It contains 10 executable source/script files (six C programs and four shell scripts), six Markdown README/reference files, and an MIT license. It is not a Metasploit, Nuclei, or other framework module collection. The CVE-2009-1185 shell script builds a malicious LD_PRELOAD library and forges a NETLINK_KOBJECT_UEVENT directed at a supplied udev netlink PID, causing privileged execution of the library constructor and creation of /tmp/suid. CVE-2009-1337 builds a clone/exit_notify exploit that abuses setuid chfn/gpasswd behavior to generate a core file in /etc/logrotate.d; the injected configuration later makes /tmp/.m setuid-root. CVE-2009-2692 includes two sendfile-related local root exploits: the larger wunderbar_emporium implementation resolves kernel symbols, triggers vulnerable socket families, obtains kernel execution, escalates credentials, and attempts to disable SELinux/AppArmor/LSM protections; its wrapper selects direct null-page, SELinux runcon, or setuid Pulseaudio shared-library routes. The smaller 9436 variant maps page zero, uses a PF_PPPOX socket and sendfile trigger, overwrites credentials, and starts a root shell. CVE-2009-2698 uses an ip_append_data()/UDP socket trigger after installing a null-page trampoline, then modifies task credentials and launches a shell. CVE-2009-3547 is a 32-bit fs/pipe.c race/structure-corruption exploit supporting several Linux 2.6 pipe-layout eras; it races pipe descriptors through /proc/<pid>/fd/4 and modifies task credentials before opening a root shell. No external command-and-control, download, or fixed remote target is present. Socket calls are local triggers for vulnerable kernel networking/protocol code, rather than connections to a remote host.0b0111100 · Disclosed Sep 7, 2026 · c · shell · localOperational
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
Debian ProjectDebian 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
SuseSuse Linux Enterprise Real Timeoperating_system
FAQ

Frequently asked questions

Is CVE-2009-2692 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2009-2692 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2009-2692?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2009-2692, the earliest disclosed Aug 13, 2009.
Is there a patch for CVE-2009-2692?
Apply a vendor kernel update addressing CVE-2009-2692. Upstream fixes are available in Linux 2.6.30.5 and 2.4.37.5; the 2.6.31-rc6 development release also includes a fix.
What products are affected by CVE-2009-2692?
Linux Kernel, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux Server, and 3 more.
How severe is CVE-2009-2692?
CVE-2009-2692 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 14.6% (97th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+8 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

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, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.