CVE-2017-7184

Publication date 19 March 2017

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.

From the Ubuntu Security Team

It was discovered that the xfrm framework for transforming packets in the Linux kernel did not properly validate data received from user space. A local attacker could use this to cause a denial of service (system crash) or execute arbitrary code with administrative privileges.

Read the notes from the security team

Status

Package Ubuntu Release Status
linux 17.10 artful
Not affected
17.04 zesty
Not affected
16.10 yakkety
Fixed 4.8.0-45.48
16.04 LTS xenial
Fixed 4.4.0-71.92
14.04 LTS trusty
Fixed 3.13.0-115.162
12.04 LTS precise
Fixed 3.2.0-125.168
linux-armadaxp 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
Fixed 3.2.0-1686.113
linux-aws 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.21
14.04 LTS trusty
Not affected
12.04 LTS precise Not in release
linux-azure 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 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 17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Ignored end of life
16.04 LTS xenial Ignored abandoned
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-gcp 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 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-1009.9
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-goldfish 17.10 artful Not in release
17.04 zesty Ignored end of life
16.10 yakkety Ignored end of life
16.04 LTS xenial Ignored abandoned
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-grouper 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 17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial
Fixed 4.8.0-45.48~16.04.1
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-hwe-edge 17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial
Fixed 4.8.0-45.48~16.04.1
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-kvm 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 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 end of life
linux-linaro-shared 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 end of life
linux-linaro-vexpress 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 end of life
linux-lts-quantal 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 end of life
linux-lts-raring 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 end of life
linux-lts-saucy 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 end of life
linux-lts-trusty 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
Fixed 3.13.0-115.162~precise1
linux-lts-utopic 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 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 end of life, was needed
12.04 LTS precise Not in release
linux-lts-wily 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 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-71.92~14.04.1
12.04 LTS precise Not in release
linux-maguro 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 17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Ignored end of life
16.04 LTS xenial Ignored abandoned
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-manta 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 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 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 end of life
linux-raspi2 17.10 artful
Not affected
17.04 zesty
Not affected
16.10 yakkety
Fixed 4.8.0-1032.35
16.04 LTS xenial
Fixed 4.4.0-1051.58
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-snapdragon 17.10 artful
Not affected
17.04 zesty
Fixed 4.4.0-1055.59
16.10 yakkety
Fixed 4.4.0-1055.59
16.04 LTS xenial
Fixed 4.4.0-1054.58
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
linux-ti-omap4 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
Fixed 3.2.0-1503.130

Notes


jdstrand

android kernels (flo, goldfish, grouper, maguro, mako and manta) are not supported on the Ubuntu Touch 14.10 and earlier preview kernels linux-lts-saucy no longer receives official support linux-lts-quantal no longer receives official 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.8 · High
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-3248-1
    • Linux kernel vulnerability
    • 29 March 2017
    • USN-3250-1
    • Linux kernel vulnerability
    • 29 March 2017
    • USN-3251-2
    • Linux kernel (HWE) vulnerability
    • 30 March 2017
    • USN-3250-2
    • Linux kernel (Trusty HWE) vulnerability
    • 29 March 2017
    • USN-3251-1
    • Linux kernel vulnerability
    • 29 March 2017
    • USN-3249-1
    • Linux kernel vulnerability
    • 29 March 2017
    • USN-3249-2
    • Linux kernel (Xenial HWE) vulnerability
    • 30 March 2017

Other references