CVE-2022-27666 is a Linux kernel heap buffer overflow in the IPsec ESP transformation code, specifically in net/ipv4/esp4.c and net/ipv6/esp6.c. The flaw was introduced by a January 2017 commit in the xfrm/IPsec subsystem. According to the provided content, a local attacker with normal user privileges can trigger an out-of-bounds write that overwrites kernel heap objects. The vulnerability affects multiple Linux distributions. The supplied context also notes public exploitation research showing the bug can be used as a large heap overflow primitive to perform heap manipulation, obtain a KASLR leak, and build an arbitrary address write primitive.
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.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a local privilege escalation exploit for CVE-2022-27666, targeting the Linux kernel as used in Ubuntu Desktop 21.10 and similar distributions. The exploit is implemented in C and leverages a vulnerability in the kernel's IPsec implementation. The structure includes several C source files: 'poc.c' (main exploit logic), 'fuse_evil.c/h' (malicious FUSE filesystem), 'get_rooot.c' (helper to set SUID on the shell), and 'myshell.c' (the SUID root shell payload). The 'libfuse' directory contains FUSE headers required for compilation. The exploit works by mounting two FUSE filesystems, manipulating kernel memory, and ultimately overwriting the 'modprobe_path' to execute a payload that sets up a root shell at /tmp/myshell. The provided shell scripts ('compile.sh', 'run.sh', 'download_symbol.sh') automate compilation, symbol downloading, and repeated execution of the exploit. The main attack vector is local, requiring code execution on the target system. The exploit leaves several fingerprintable artifacts, including /tmp/myshell (SUID root shell), /tmp/get_rooot (helper), and /tmp/exploited (marker file).
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.
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Linux kernel buffer overflow vulnerability referenced as originating from the same source code commit as one component of Dirty Frag.
A Linux kernel buffer overflow vulnerability affecting multiple Linux distributions, mentioned as sharing the same root-cause commit lineage as part of the broader discussion around Dirty Frag.
A Linux kernel buffer overflow vulnerability affecting various Linux distributions, mentioned as sharing the same root-cause commit as part of the broader bug lineage discussed.
A Linux kernel heap overflow vulnerability used in public exploit write-ups to gain a KASLR leak and arbitrary address write, then overwrite modprobe_path for local privilege escalation.
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.