CVE-2017-1000112
Reported by mitre · Published October 4, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Arch Linux | 4.13-1 |
| linux-gke | Ubuntu:16.04:LTS | 4.4.0-1026.26 |
| linux-lts-xenial | Ubuntu:14.04:LTS | 4.4.0-91.114~14.04.1 |
| linux-hwe | Ubuntu:16.04:LTS | 4.10.0-32.36~16.04.1 |
| linux | Ubuntu:16.04:LTS | 4.4.0-91.114 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | linux | 0 |
| n/a | n/a | * |
Timeline
- Oct 4, 2017 CVE Published
- Jan 2, 2018 PoC Published (4 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (28 in total, the first dated here)
- Mar 5, 2026 Security Advisory (25 in total, the first dated here)
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-1000112
vulnetix vdb fixes CVE-2017-1000112
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-1000112/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20170810 Linux kernel: CVE-2017-1000112: Exploitable memory corruption due to UFO to non-UFO path switch mailing-listx_refsource_MLIST
- RHSA-2017:3200 vendor-advisoryx_refsource_REDHAT
- 100262 vdb-entryx_refsource_BID
- RHSA-2017:2918 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2931 vendor-advisoryx_refsource_REDHAT
- DSA-3981 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- 1039162 vdb-entryx_refsource_SECTRACK
- 45147 exploitx_refsource_EXPLOIT-DB
- RHSA-2017:2930 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:1932 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:1931 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:4159 vendor-advisoryx_refsource_REDHAT