CVE-2017-1000112 is an exploitable memory-corruption vulnerability in the Linux kernel IPv4 and IPv6 packet-append paths. While constructing a UDP Fragmentation Offload (UFO) packet across multiple send operations using MSG_MORE, processing can switch from the UFO append path to the non-UFO path. For a packet exceeding the MTU, this transition can produce negative length calculations during fragmentation. A subsequent copy operation then writes beyond the destination skb buffer. The flaw originated with the IPv4/IPv6 UFO scatter-gather implementation introduced in 2005.
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.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (3 hidden).
Repository contains a single C local privilege escalation exploit (exploit.c) plus a minimal README and .gitignore. Exploit purpose/capabilities: - Targets CVE-2017-1000112 (Linux kernel networking/UDP fragmentation-related memory corruption) to achieve local root. - Builds a fake skb_shared_info/ubuf_info structure in a user-controlled buffer and triggers an out-of-bounds/destructor callback execution path via UDP socket operations. - Executes a kernel payload that calls commit_creds(prepare_kernel_cred(0)) to set current process credentials to root. - Includes optional bypasses: - KASLR bypass: reads the kernel log via klogctl(), searches for a "Freeing unused" line, extracts a kernel pointer, and derives KERNEL_BASE. - SMEP bypass: mmaps a controlled "fake stack" at an address derived from a kernel gadget (xchg eax, esp; ret), then uses a ROP chain to clear the SMEP bit in CR4 and jumps to a userland payload. Targeting/offsets: - Hardcoded gadget and symbol offsets for specific Ubuntu kernels (trusty 4.4.0-21/62-generic; xenial 4.8.0-22/58-generic). The code is explicitly patched to support xenial 4.8.0-22-generic. - detect_versions() matches uname -r and a hardcoded distro codename (currently forced to "xenial") to select the correct offsets; otherwise it exits. Execution flow (high level): 1) detect_versions() selects offsets. 2) setup_sandbox() creates user+net namespaces, writes uid_map/gid_map, brings up loopback. 3) If enabled, derives KERNEL_BASE from syslog (KASLR bypass). 4) If enabled, mmaps fake stack and prepares ROP chain to disable SMEP. 5) oob_execute() triggers the vulnerability using UDP sends to 127.0.0.1:8000 and SO_NO_CHECK. 6) On success, checks getuid()==0 and spawns /bin/bash -i. Repository structure: - README.md: brief build/run notes and a link to an Ubuntu 16.10 server ISO for reproducing a vulnerable environment. - exploit.c: full PoC exploit with kernel version detection, KASLR/SMEP bypass logic, and root shell payload. - .gitignore: ignores *.iso.
This repository contains a single Metasploit module: 'ufo_privilege_escalation.rb', which exploits the Linux Kernel UDP Fragmentation Offload (UFO) vulnerability (CVE-2017-1000112) to escalate privileges from a local user to root. The exploit targets Ubuntu (Trusty/Xenial) and Linux Mint systems running specific vulnerable kernel versions (4.4.0-21 to 4.4.0-89 and 4.8.0-34 to 4.8.0-58) on x86_64 architecture. The module checks for required kernel configuration (unprivileged user namespaces enabled, SMAP disabled), uploads and compiles (or drops) a C-based exploit binary and a payload executable to a writable directory (default: /tmp), and executes the exploit to run the payload as root. The default payload is a reverse TCP meterpreter shell, but any compatible Metasploit payload can be used. The module includes checks for kernel version, architecture, and configuration, and cleans up dropped files after execution. The exploit is operational and can be used to gain root access on vulnerable systems where the attacker already has a shell or meterpreter session.
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 specific Linux kernel heap overflow vulnerability referenced as an example where the vulnerable object itself can serve as the victim object for exploitation.
An exploitable Linux kernel memory-corruption vulnerability caused by switching from a UDP Fragmentation Offload (UFO) to a non-UFO path.
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.