Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2017-1000112

Publication date 10 August 2017

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.0 · High

Score breakdown

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.

From the Ubuntu Security Team

Andrey Konovalov discovered a race condition in the UDP Fragmentation Offload (UFO) code in the Linux kernel. A local attacker could use this to cause a denial of service or execute arbitrary code.

Read the notes from the security team

Status

Package Ubuntu Release Status
linux 18.04 LTS bionic
Not affected
17.10 artful
Not affected
17.04 zesty
Fixed 4.10.0-32.36
16.04 LTS xenial
Fixed 4.4.0-91.114
14.04 LTS trusty
Fixed 3.13.0-128.177
linux-armadaxp 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-aws 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Fixed 4.4.0-1030.39
14.04 LTS trusty
Not affected
linux-azure 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
linux-euclid 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Not affected
14.04 LTS trusty Not in release
linux-flo 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-gcp 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Not affected
14.04 LTS trusty Not in release
linux-gke 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Fixed 4.4.0-1026.26
14.04 LTS trusty Not in release
linux-goldfish 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Ignored
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-grouper 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-hwe 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Fixed 4.10.0-32.36~16.04.1
14.04 LTS trusty Not in release
linux-hwe-edge 18.04 LTS bionic
Fixed 4.18.0-8.9~18.04.1
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Fixed 4.10.0-32.36~16.04.1
14.04 LTS trusty Not in release
linux-kvm 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Not affected
14.04 LTS trusty Not in release
linux-linaro-omap 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-linaro-shared 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-linaro-vexpress 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-quantal 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-raring 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-saucy 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-trusty 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-utopic 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-vivid 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored
linux-lts-wily 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-xenial 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty
Fixed 4.4.0-91.114~14.04.1
linux-maguro 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-mako 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-manta 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-oem 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Not affected
14.04 LTS trusty Not in release
linux-qcm-msm 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-raspi2 18.04 LTS bionic
Not affected
17.10 artful
Not affected
17.04 zesty
Fixed 4.10.0-1015.18
16.04 LTS xenial
Fixed 4.4.0-1069.77
14.04 LTS trusty Not in release
linux-snapdragon 18.04 LTS bionic
Not affected
17.10 artful
Not affected
17.04 zesty
Fixed 4.4.0-1071.76
16.04 LTS xenial
Fixed 4.4.0-1071.76
14.04 LTS trusty Not in release
linux-ti-omap4 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Notes


sbeattie

fix subject: udp: consistently apply ufo or fragmentation


smb

While working on the embargoed CVE we decided that Precise cannot be exploited due to the missing user namespace support.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
linux

Severity score breakdown

Parameter Value
Base score 7.0 · High
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-3385-2
    • Linux kernel (Xenial HWE) vulnerabilities
    • 11 August 2017
    • USN-3385-1
    • Linux kernel vulnerabilities
    • 11 August 2017
    • USN-3386-1
    • Linux kernel vulnerabilities
    • 11 August 2017
    • USN-3384-1
    • Linux kernel vulnerabilities
    • 11 August 2017
    • USN-3386-2
    • Linux kernel (Trusty HWE) vulnerabilities
    • 11 August 2017
    • USN-3384-2
    • Linux kernel (HWE) vulnerabilities
    • 11 August 2017

Other references