CVE-2017-1000112
Linux kernel: Exploitable memory corruption due to UFO to non-UFO path switch. When building a UFO packet with MSG_MORE __ip_append_data()…
- 7.0HighCVSS base score
- 20.8%Exploitation in 30 daysEPSS · top 2.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 4Public exploitsMetasploit, Nuclei and Exploit-DB
Description
Linux kernel: Exploitable memory corruption due to UFO to non-UFO path switch. When building a UFO packet with MSG_MORE __ip_append_data() calls ip_ufo_append_data() to append. However in between two send() calls, the append path can be switched from UFO to non-UFO one, which leads to a memory corruption. In case UFO packet lengths exceeds MTU, copy = maxfraglen - skb->len becomes negative on the non-UFO path and the branch to allocate new skb is taken. This triggers fragmentation and computation of fraggap = skb_prev->len - maxfraglen. Fraggap can exceed MTU, causing copy = datalen - transhdrlen - fraggap to become negative. Subsequently skb_copy_and_csum_bits() writes out-of-bounds. A similar issue is present in IPv6 code. The bug was introduced in e89e9cf539a2 ("[IPv4/IPv6]: UFO Scatter-gather approach") on Oct 18 2005.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 3 Exploit-DB entries for it. A reference of the record is tagged as an exploit.
Show the exploits5
Metasploit modules1 module
- Linux Kernel UDP Fragmentation Offset (UFO) Privilege Escalation (Metasploit module) (opens in a new tab)
exploit/linux/local/ufo_privilege_escalationRank gooddisclosed 10 Aug 2017
Exploit-DB3 entries
- Linux Kernel < 4.4.0/ < 4.8.0 (Ubuntu 14.04/16.04 / Linux Mint 17/18 / Zorin) - Local Privilege Escalation (KASLR / SMEP) (Exploit-DB entry) (opens in a new tab)
EDB-ID 47169local, linuxpublished 29 Dec 2018Not verified
- Linux Kernel - UDP Fragmentation Offset 'UFO' Privilege Escalation (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 45147local, linuxpublished 3 Aug 2018Verified
- Linux Kernel < 4.4.0-83 / < 4.8.0-58 (Ubuntu 14.04/16.04) - Local Privilege Escalation (KASLR / SMEP) (Exploit-DB entry) (opens in a new tab)
EDB-ID 43418local, linuxpublished 13 Aug 2017Verified
References tagged exploit1 reference
- 45147 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 7 years later
· 7 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 20.8% · top 2.4% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Affected products
n/a
- affected n/a
References
References13
- [oss-security] 20170810 Linux kernel: CVE-2017-1000112: Exploitable memory corruption due to UFO to non-UFO path switch (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2017:3200 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 100262 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2017:2918 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:2931 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-3981 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://github.com/xairy/kernel-exploits/tree/master/CVE-2017-1000112 (opens in a new tab)x_refsource_MISCx_transferred
- 1039162 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 45147 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- RHSA-2017:2930 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:1932 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:1931 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:4159 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2017-1407 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-1000112)Record last updated .