Skip to content
Fencer Intel
high 7.0

CVE-2017-1000112 in the critical feed json

Linux kernel: Exploitable memory corruption due to UFO to non-UFO path switch.

published 9y ago modified 4mo ago also EUVD-2017-1407

cvss
7.0
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
20.8%
EPSS 20.8% chance of exploitation in 30 days, percentile 97%
public exploits
4
Metasploit and Exploit-DB

Summary

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.

Patch / fix

  • linux linux_kernel 3.10.108, 3.16.47, 3.18.65, 4.4.82, 4.9.43, 4.12.7
  • linux Debian 14, Debian 13, Debian 12 4.12.6-1

debian advisories DEBIAN-CVE-2017-1000112

  • linux Ubuntu 14.04 LTS 3.13.0-128.177
  • linux Ubuntu 16.04 LTS 4.4.0-91.114
  • linux-aws Ubuntu 16.04 LTS 4.4.0-1030.39
  • linux-gke Ubuntu 16.04 LTS 4.4.0-1026.26
  • linux-hwe Ubuntu 16.04 LTS 4.10.0-32.36~16.04.1
  • linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1069.77
  • linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-91.114~14.04.1
  • linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1071.76

ubuntu advisories UBUNTU-CVE-2017-1000112

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt enterprise mrg 2 1:3.10.0-693.5.2.rt56.592.el6rt
  • kernel-rt-trace enterprise mrg 2 1:3.10.0-693.5.2.rt56.592.el6rt
  • kernel-rt-vanilla enterprise mrg 2 1:3.10.0-693.5.2.rt56.592.el6rt
  • kernel-rt-firmware enterprise mrg 2 1:3.10.0-693.5.2.rt56.592.el6rt
  • kernel-rt-debuginfo-common-x86_64 enterprise mrg 2 1:3.10.0-693.5.2.rt56.592.el6rt
  • kernel-rt RHEL 7 EXTRAS_RT 3.10.0-693.5.2.rt56.626.el7
  • kernel-rt-kvm RHEL 7 EXTRAS_RT 3.10.0-693.5.2.rt56.626.el7
  • kernel-rt-trace RHEL 7 EXTRAS_RT 3.10.0-693.5.2.rt56.626.el7

red hat advisories RHSA-2019:4159RHSA-2017:2918RHSA-2017:2931RHSA-2017:2930RHSA-2019:1932RHSA-2019:1931

  • kernel-ec2 SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1
  • kernel-pae SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1
  • kernel-xen SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1
  • kernel-syms SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1
  • kernel-ppc64 SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1
  • kernel-trace SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1
  • kernel-bigmem SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1
  • kernel-source SLES for SAP 11 SP4, SLES 11 SP4 3.0.101-108.18.1

suse advisories SUSE-SU-2017:3265-1SUSE-SU-2017:2956-1SUSE-SU-2017:2813-1SUSE-SU-2017:2791-1SUSE-SU-2017:2775-1SUSE-SU-2017:2694-1

  • linux Arch Linux 4.13-1

arch linux advisories AVG-434

Is CVE-2017-1000112 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-1000112 updated cvss 7.0

kernel: Exploitable memory corruption due to UFO to non-UFO path switch

  • Red Hat Enterprise Linux 7 perf, kernel, python-perf, kernel-kdump, kernel-tools, kernel-tools-libs, +2 more
    affected: no fix available
  • Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-693.5.2.el7, kernel 3.10.0-693.5.2.el7, python-perf 3.10.0-693.5.2.el7, kernel-tools 3.10.0-693.5.2.el7, kernel-tools-libs 3.10.0-693.5.2.el7, kernel-abi-whitelists 3.10.0-693.5.2.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-693.5.2.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-693.5.2.el7, kernel 3.10.0-693.5.2.el7, python-perf 3.10.0-693.5.2.el7, kernel-tools 3.10.0-693.5.2.el7, kernel-tools-libs 3.10.0-693.5.2.el7, kernel-abi-whitelists 3.10.0-693.5.2.el7, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-693.5.2.el7
    fixed: vendor fix RHSA-2017:2930
  • Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-696.16.1.el6, kernel 2.6.32-696.16.1.el6, kernel-firmware 2.6.32-696.16.1.el6, kernel-abi-whitelists 2.6.32-696.16.1.el6, kernel-debuginfo-common-i686 2.6.32-696.16.1.el6, kernel-debuginfo-common-x86_64 2.6.32-696.16.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-696.16.1.el6, kernel-debuginfo-common-i686 2.6.32-696.16.1.el6, kernel-debuginfo-common-x86_64 2.6.32-696.16.1.el6
    fixed: vendor fix RHSA-2017:3200
  • Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-693.5.2.rt56.626.el7, kernel-rt-kvm 3.10.0-693.5.2.rt56.626.el7, kernel-rt-trace 3.10.0-693.5.2.rt56.626.el7, kernel-rt-debug-kvm 3.10.0-693.5.2.rt56.626.el7, kernel-rt-trace-kvm 3.10.0-693.5.2.rt56.626.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-693.5.2.rt56.626.el7
    fixed: vendor fix RHSA-2017:2931
  • Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-696.16.1.el6, kernel 2.6.32-696.16.1.el6, kernel-firmware 2.6.32-696.16.1.el6, kernel-abi-whitelists 2.6.32-696.16.1.el6, kernel-debuginfo-common-i686 2.6.32-696.16.1.el6, kernel-debuginfo-common-x86_64 2.6.32-696.16.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-696.16.1.el6, kernel-debuginfo-common-x86_64 2.6.32-696.16.1.el6
    fixed: vendor fix RHSA-2017:3200
  • Red Hat Enterprise Linux Long Life (v. 5.9 server) kernel 2.6.18-348.44.1.el5, kernel-PAE 2.6.18-348.44.1.el5, kernel-xen 2.6.18-348.44.1.el5, kernel-debuginfo-common 2.6.18-348.44.1.el5
    fixed: vendor fix RHSA-2019:1932
  • Red Hat Enterprise Linux Realtime (v. 7) kernel-rt 3.10.0-693.5.2.rt56.626.el7, kernel-rt-trace 3.10.0-693.5.2.rt56.626.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-693.5.2.rt56.626.el7
    fixed: vendor fix RHSA-2017:2931
  • Red Hat Enterprise Linux Server (v. 5 ELS) kernel 2.6.18-438.el5, kernel-PAE 2.6.18-438.el5, kernel-xen 2.6.18-438.el5, kernel-kdump 2.6.18-438.el5, kernel-debuginfo-common 2.6.18-438.el5
    fixed: vendor fix RHSA-2019:1931
show 11 more
  • Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-696.16.1.el6, kernel 2.6.32-696.16.1.el6, kernel-kdump 2.6.32-696.16.1.el6, kernel-firmware 2.6.32-696.16.1.el6, kernel-bootwrapper 2.6.32-696.16.1.el6, kernel-abi-whitelists 2.6.32-696.16.1.el6, +4 more
    fixed: vendor fix RHSA-2017:3200
  • Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-693.5.2.el7, kernel 3.10.0-693.5.2.el7, python-perf 3.10.0-693.5.2.el7, kernel-kdump 3.10.0-693.5.2.el7, kernel-tools 3.10.0-693.5.2.el7, kernel-tools-libs 3.10.0-693.5.2.el7, +6 more
    fixed: vendor fix RHSA-2017:2930
  • Red Hat Enterprise Linux Server AUS (v. 7.3) perf 3.10.0-514.71.1.el7, kernel 3.10.0-514.71.1.el7, python-perf 3.10.0-514.71.1.el7, kernel-tools 3.10.0-514.71.1.el7, kernel-tools-libs 3.10.0-514.71.1.el7, kernel-abi-whitelists 3.10.0-514.71.1.el7, +1 more Red Hat Enterprise Linux Server E4S (v. 7.3) perf 3.10.0-514.71.1.el7, kernel 3.10.0-514.71.1.el7, python-perf 3.10.0-514.71.1.el7, kernel-tools 3.10.0-514.71.1.el7, kernel-tools-libs 3.10.0-514.71.1.el7, kernel-bootwrapper 3.10.0-514.71.1.el7, +3 more
    fixed: vendor fix RHSA-2019:4159
  • Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-696.16.1.el6, kernel-debuginfo-common-i686 2.6.32-696.16.1.el6, kernel-debuginfo-common-ppc64 2.6.32-696.16.1.el6, kernel-debuginfo-common-s390x 2.6.32-696.16.1.el6, kernel-debuginfo-common-x86_64 2.6.32-696.16.1.el6
    fixed: vendor fix RHSA-2017:3200
  • Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-693.5.2.el7, kernel-debuginfo-common-x86_64 3.10.0-693.5.2.el7, kernel-debuginfo-common-ppc64le 3.10.0-693.5.2.el7
    fixed: vendor fix RHSA-2017:2930
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.3) kernel-debuginfo-common-x86_64 3.10.0-514.71.1.el7 Red Hat Enterprise Linux Server Optional E4S (v. 7.3) kernel-debuginfo-common-x86_64 3.10.0-514.71.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-514.71.1.el7 Red Hat Enterprise Linux Server Optional TUS (v. 7.3) kernel-debuginfo-common-x86_64 3.10.0-514.71.1.el7 Red Hat Enterprise Linux Server TUS (v. 7.3) perf 3.10.0-514.71.1.el7, kernel 3.10.0-514.71.1.el7, python-perf 3.10.0-514.71.1.el7, kernel-tools 3.10.0-514.71.1.el7, kernel-tools-libs 3.10.0-514.71.1.el7, kernel-abi-whitelists 3.10.0-514.71.1.el7, +1 more
    fixed: vendor fix RHSA-2019:4159
  • Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-696.16.1.el6, kernel 2.6.32-696.16.1.el6, kernel-firmware 2.6.32-696.16.1.el6, kernel-abi-whitelists 2.6.32-696.16.1.el6, kernel-debuginfo-common-i686 2.6.32-696.16.1.el6, kernel-debuginfo-common-x86_64 2.6.32-696.16.1.el6
    fixed: vendor fix RHSA-2017:3200
  • Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-693.5.2.el7, kernel 3.10.0-693.5.2.el7, python-perf 3.10.0-693.5.2.el7, kernel-tools 3.10.0-693.5.2.el7, kernel-tools-libs 3.10.0-693.5.2.el7, kernel-abi-whitelists 3.10.0-693.5.2.el7, +1 more
    fixed: vendor fix RHSA-2017:2930
  • Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-696.16.1.el6, kernel-debuginfo-common-i686 2.6.32-696.16.1.el6, kernel-debuginfo-common-x86_64 2.6.32-696.16.1.el6
    fixed: vendor fix RHSA-2017:3200
  • Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-693.5.2.el7
    fixed: vendor fix RHSA-2017:2930
  • Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.10.0-693.5.2.rt56.592.el6rt, kernel-rt-trace 3.10.0-693.5.2.rt56.592.el6rt, kernel-rt-vanilla 3.10.0-693.5.2.rt56.592.el6rt, kernel-rt-firmware 3.10.0-693.5.2.rt56.592.el6rt, kernel-rt-debuginfo-common-x86_64 3.10.0-693.5.2.rt56.592.el6rt
    fixed: vendor fix RHSA-2017:2918

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/linux/local/ufo_privilege_escalation)
  2. Published

Exploit prediction

20.80% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • Metasploit exploit/linux/local/ufo_privilege_escalation Linux Kernel UDP Fragmentation Offset (UFO) Privilege Escalation metasploit exploit, good rank, 2017-08-10
  • EDB-47169 Linux Kernel < 4.4.0/ < 4.8.0 (Ubuntu 14.04/16.04 / Linux Mint 17/18 / Zorin) - Local Privilege Escalation (KASLR / SMEP) local, 2018-12-29
  • EDB-45147 Linux Kernel - UDP Fragmentation Offset 'UFO' Privilege Escalation (Metasploit) local, 2018-08-03
  • EDB-43418 Linux Kernel < 4.4.0-83 / < 4.8.0-58 (Ubuntu 14.04/16.04) - Local Privilege Escalation (KASLR / SMEP) local, 2017-08-13

CVSS scores

assigned by version score vector
NVD 3.1 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.