CVE-2013-2094 is a local privilege-escalation vulnerability in the Linux kernel before version 3.8.9. The perf_swevent_init function uses an incorrect integer data type, allowing a local user to gain elevated privileges through a crafted perf_event_open system call.
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.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (3 hidden).
This repository contains a single C source file, 'semtex.c', which is a local Linux kernel privilege escalation exploit targeting CVE-2013-2094 (the 'perf bug'). The exploit is designed for x86_64 systems running Linux kernel versions 2.6.37 to 3.x.x, and some backported 2.6.32 kernels (notably CentOS). The code works by mapping memory, manipulating kernel structures, and injecting shellcode to escalate privileges. Upon successful exploitation, it spawns a root shell by executing '/bin/bash'. The exploit must be compiled and run locally on the target system. No network endpoints are involved; the only fingerprintable endpoint is the use of '/bin/bash' to provide a root shell. The code is operational and provides a working privilege escalation payload.
This repository contains a C library exploit targeting the Linux kernel's perf_event subsystem on Android devices. The main files are 'perf_event.c' and 'perf_swevent.c', which implement functions to write arbitrary values to kernel memory addresses by abusing the perf_event_open syscall. The exploit is tailored for a set of specific Android devices, with hardcoded device IDs and kernel addresses for each supported device. The exploit works by spawning child processes to repeatedly call perf_event_open with crafted parameters, incrementing values at specific kernel addresses. This can be used as a primitive for privilege escalation. The code is structured as a static library (as per Android.mk) and is not a standalone exploit, but rather a component to be used in a larger rooting or exploitation tool. No network endpoints are present; the attack vector is local, requiring code execution on the target device. The repository is a proof-of-concept for the kernel memory write primitive via perf_event vulnerabilities on Android.
This repository contains two C exploit files (semtex.c and rewritten_semtex.c) and a README. Both C files are exploits for CVE-2013-2094, a privilege escalation vulnerability in the Linux kernel's perf_event_open syscall. The README provides build instructions and context, referencing a blog post for further explanation. The rewritten_semtex.c file is a more readable, heavily commented version of the original semtex.c exploit, intended for educational purposes. Both exploits work by mapping memory, manipulating kernel data structures, and injecting shellcode to overwrite the current process's credentials, ultimately granting root privileges and spawning a root shell (/bin/bash). The attack vector is local, requiring the attacker to execute the exploit on a vulnerable Linux system. No network endpoints or remote attack surfaces are present; the only fingerprintable endpoint is the use of /bin/bash to spawn a shell. The exploit is operational, providing a working payload but not part of a larger framework.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Linux kernel privilege-escalation vulnerability identified by the perf_swevent_init function name. The guide specifically names kernel versions 3.8.0 and 3.8.1 and provides exploit compilation and execution commands.
A local privilege-escalation vulnerability in the Linux kernel perf events subsystem caused by incorrect integer data-type handling in perf_swevent_init. It affects Linux kernel versions before 3.8.9 and can be exploited through a crafted perf_event_open system call.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.