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() 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.
What to do
Likely to be exploited: EPSS gives a 21% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-intel | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.11 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi-realtime | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 24.04 | linux-realtime | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-riscv | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-intel-iot-realtime | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 22.04 | linux-intel-iotg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-realtime | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 22.04 | linux-riscv | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 22.04 | linux-riscv-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-xilinx-zynqmp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-azure-fde | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 20.04 | linux-gke | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 20.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-gkeop-5.15 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-raspi2 | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 20.04 | linux-riscv | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | UBUNTU-CVE-2017-1000112 | |
| Ubuntu 18.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-hwe-edge | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux | Fixed | 4.4.0-91.114 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 16.04 | linux-aws | Fixed | 4.4.0-1030.39 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 16.04 | linux-aws-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-euclid | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-flo | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 16.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-gke | Fixed | 4.4.0-1026.26 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 16.04 | linux-goldfish | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 16.04 | linux-hwe | Fixed | 4.10.0-32.36~16.04.1 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 16.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-mako | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 16.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-raspi2 | Fixed | 4.4.0-1069.77 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 16.04 | linux-snapdragon | Fixed | 4.4.0-1071.76 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 14.04 | linux | Fixed | 3.13.0-128.177 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 14.04 | linux-flo | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-goldfish | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-grouper | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-lts-utopic | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-lts-vivid | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-lts-wily | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-lts-xenial | Fixed | 4.4.0-91.114~14.04.1 | UBUNTU-CVE-2017-1000112 |
| Ubuntu 14.04 | linux-maguro | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-mako | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Ubuntu 14.04 | linux-manta | Will not fix fix subject: udp: consistently apply ufo or fragmentation While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing… | ||
| Debian 14 | linux | Fixed | 4.12.6-1 | DEBIAN-CVE-2017-1000112 |
| Debian 13 | linux | Fixed | 4.12.6-1 | DEBIAN-CVE-2017-1000112 |
| Debian 12 | linux | Fixed | 4.12.6-1 | DEBIAN-CVE-2017-1000112 |
| Red Hat Enterprise Linux 7 | kernel | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-debug | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64 | Fixed | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64le | Fixed | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-s390x | Fixed | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-x86_64 | Fixed | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-devel | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-doc | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-headers | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-kdump | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-tools | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | perf | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 7 | python-perf | Fixed Affected | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| Red Hat Enterprise Linux 6 | kernel | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-debug | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-i686 | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-ppc64 | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-s390x | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-x86_64 | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-devel | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-doc | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-firmware | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-headers | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-kdump | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | perf | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
| Red Hat Enterprise Linux 6 | python-perf | Fixed | 0:2.6.32-696.16.1.el6 | RHSA-2017:3200 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:3200 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2918 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2931 (vendor-advisory)
- http://www.debian.org/security/2017/dsa-3981 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2930 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:1932 (vendor-advisory)
References
- http://seclists.org/oss-sec/2017/q3/277
- https://access.redhat.com/errata/RHSA-2017:3200
- http://www.securityfocus.com/bid/100262
- https://access.redhat.com/errata/RHSA-2017:2918
- https://access.redhat.com/errata/RHSA-2017:2931
- http://www.debian.org/security/2017/dsa-3981
- https://github.com/xairy/kernel-exploits/tree/master/CVE-2017-1000112
- http://www.securitytracker.com/id/1039162
- https://www.exploit-db.com/exploits/45147/
- https://access.redhat.com/errata/RHSA-2017:2930
- https://access.redhat.com/errata/RHSA-2019:1932
- https://access.redhat.com/errata/RHSA-2019:1931
- https://access.redhat.com/errata/RHSA-2019:4159
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.