VDB

CVE-2017-1000112

CVE-2017-1000112 PUBLISHED

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.

PackageEcosystemFixed in
linuxArch Linux4.13-1
linux-gkeUbuntu:16.04:LTS4.4.0-1026.26
linux-lts-xenialUbuntu:14.04:LTS4.4.0-91.114~14.04.1
linux-hweUbuntu:16.04:LTS4.10.0-32.36~16.04.1
linuxUbuntu:16.04:LTS4.4.0-91.114

Affected products

VendorProductVersions
n/an/an/a
archlinux0
n/an/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›