Advisory

UBUNTU-CVE-2017-1000112

Also known as: CVE-2017-1000112

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2017-08-10 17:00 UTC
Modified
2026-04-22 11:04 UTC

Affected packages and fixes

16 affected packages
PackageSystemAffectedFix
linuxDebian packages (deb) · Ubuntu 14.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linux-lts-xenialDebian packages (deb) · Ubuntu 14.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linuxDebian packages (deb) · Ubuntu 16.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linux-awsDebian packages (deb) · Ubuntu 16.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linux-gkeDebian packages (deb) · Ubuntu 16.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linux-hweDebian packages (deb) · Ubuntu 16.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linux-raspi2Debian packages (deb) · Ubuntu 16.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linux-snapdragonDebian packages (deb) · Ubuntu 16.04Earlier versionssudo apt-get update && sudo apt-get upgrade
linux-azure-fdeDebian packages (deb) · Ubuntu 20.04introduced 0No fixed version is listed.
linux-gkeDebian packages (deb) · Ubuntu 20.04introduced 0No fixed version is listed.
linux-raspi2Debian packages (deb) · Ubuntu 20.04introduced 0No fixed version is listed.
linux-riscvDebian packages (deb) · Ubuntu 20.04introduced 0No fixed version is listed.
linux-intel-iot-realtimeDebian packages (deb) · Ubuntu 22.04introduced 0No fixed version is listed.
linux-realtimeDebian packages (deb) · Ubuntu 22.04introduced 0No fixed version is listed.
linux-riscvDebian packages (deb) · Ubuntu 22.04introduced 0No fixed version is listed.
linux-raspi-realtimeDebian packages (deb) · Ubuntu 24.04introduced 0No fixed version is listed.

Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences