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()…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
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 (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Weakness
Affected products
n/a
- affected n/a
References (13)
- [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)
- 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://trackcve.app/cve/CVE-2017-1000112)Record last updated .