Vulnerability in Linux Kernel
CVE-2017-1000112
- CVSS v3
- 7.0 High
- Public exploits
- 5 repositories · 1 Metasploit module
- EPSS
- 0.208 · 97.6th percentile
- Published
- 2017-10-05
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.208, 97.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
5 public repositories with exploit or proof-of-concept code for this CVE:
- Spydomain/CVE-2017-1000112-PoC (1 star, last pushed 2026-02-02)
- IT19083124/SNP-Assignment (1 star, last pushed 2020-05-12): Exploit work Privilege Escalation CVE-2017-1000112
- ol0273st-s/CVE-2017-1000112-Adpated (1 star, last pushed 2020-02-14): POE code for CVE-2017-1000112 adapted to both funtion on a specific VM and Escape a Docker
- WhatsWrongAndWhy/CVE-2017-1000112 (last pushed 2026-07-21)
- hikame/docker_escape_pwn (last pushed 2019-09-29): Escape from Docker using CVE-2017-1000112 and CVE-2017-18344, including gaining root privilage, get all capbilities, namespace recovery, filesystem recovery, cgroup limitation bypass and seccomp bypa…
Also mentioned in 105 other repositories (0dayhunter/Linux-exploit-suggester, 0xTo/linux-kernel-exploits, 84KaliPleXon3/linux-exploit-suggester, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20170810 Linux kernel: CVE-2017-1000112: Exploitable memory corruption due to UFO to non-UFO path switch (mailing-list, Patch, Mailing List, Third Party Advisory)
- RHSA-2017:3200 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/100262 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2017:2918 (vendor-advisory, Third Party Advisory)
- RHSA-2017:2931 (vendor-advisory, Third Party Advisory)
- DSA-3981 (vendor-advisory, Third Party Advisory)
- github.com/xairy/kernel-exploits/tree/master/CVE-2017-1000112 (Third Party Advisory)
- www.securitytracker.com/id/1039162 (Third Party Advisory, VDB Entry, vdb-entry)
- www.exploit-db.com/exploits/45147/ (exploit, Third Party Advisory, VDB Entry)
- RHSA-2017:2930 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.