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-5970

Publication date 14 February 2017

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

The ipv4_pktinfo_prepare function in net/ipv4/ip_sockglue.c in the Linux kernel through 4.9.9 allows attackers to cause a denial of service (system crash) via (1) an application that makes crafted system calls or possibly (2) IPv4 traffic with invalid IP options.

From the Ubuntu Security Team

Andrey Konovalov discovered that the IPv4 implementation in the Linux kernel did not properly handle invalid IP options in some situations. An attacker could use this to cause a denial of service or possibly 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
Not affected
16.10 yakkety Ignored
16.04 LTS xenial
Fixed 4.4.0-75.96
14.04 LTS trusty
Fixed 3.13.0-132.181
12.04 LTS precise Ignored
linux-armadaxp 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-aws 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial
Fixed 4.4.0-1016.25
14.04 LTS trusty
Not affected
12.04 LTS precise Not in release
linux-azure 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety 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 Ignored
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.10 yakkety Ignored
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-gcp 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety 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.10 yakkety Not in release
16.04 LTS xenial
Fixed 4.4.0-1012.12
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-goldfish 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Ignored
16.10 yakkety Ignored
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-hwe 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial
Fixed 4.10.0-27.30~16.04.2
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial
Fixed 4.10.0-27.30~16.04.2
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-linaro-shared 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-linaro-vexpress 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-lts-quantal 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-lts-raring 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-lts-saucy 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-lts-trusty 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-lts-utopic 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored
12.04 LTS precise Not in release
linux-lts-wily 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty
Fixed 4.4.0-75.96~14.04.1
12.04 LTS precise Not in release
linux-maguro 18.04 LTS bionic Not in release
17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Ignored
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
linux-raspi2 18.04 LTS bionic
Not affected
17.10 artful
Not affected
17.04 zesty
Not affected
16.10 yakkety Ignored
16.04 LTS xenial
Fixed 4.4.0-1054.61
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-snapdragon 18.04 LTS bionic
Not affected
17.10 artful
Not affected
17.04 zesty
Fixed 4.4.0-1057.61
16.10 yakkety
Fixed 4.4.0-1057.61
16.04 LTS xenial
Fixed 4.4.0-1057.61
14.04 LTS trusty Not in release
12.04 LTS precise 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.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored

Notes


sbeattie

upstream commit references d826eb14ecef as the break point, but Nicholas Leudkte's cve references f84af32cbca70a3c6d30463dc08c7984af11c277. The latter predates the former, and there is early dropping of the dst added there. even before the conversion in d826eb14ecef.


tyhicks

In upstream 4.14, 61a1030 reverts the fix because 91ed1e6 removes the the usage of the SKB dst from __ip_options_echo(). So, an alternative fix for this CVE is 91ed1e6.

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.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-3361-1
    • Linux kernel (HWE) vulnerabilities
    • 21 July 2017
    • USN-3265-1
    • Linux kernel vulnerabilities
    • 25 April 2017
    • USN-3265-2
    • Linux kernel (Xenial HWE) vulnerabilities
    • 25 April 2017
    • USN-3422-2
    • Linux kernel (Trusty HWE) vulnerabilities
    • 18 September 2017
    • USN-3422-1
    • Linux kernel vulnerabilities
    • 18 September 2017

Other references