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

Publication date 24 November 2017

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages.

From the Ubuntu Security Team

Mohamed Ghannam discovered that a use-after-free vulnerability existed in the Netlink subsystem (XFRM) in the Linux kernel. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.

Read the notes from the security team

Mitigation

If unprivileged user namespaces are not needed, set the kernel.unprivileged_userns_clone sysctl to 0.

Status

Package Ubuntu Release Status
linux 18.04 LTS bionic
Not affected
17.10 artful
Fixed 4.13.0-19.22
17.04 zesty
Fixed 4.10.0-42.46
16.04 LTS xenial
Fixed 4.4.0-103.126
14.04 LTS trusty
Fixed 3.13.0-137.186
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-1043.52
14.04 LTS trusty
Fixed 4.4.0-1005.5
linux-azure 18.04 LTS bionic
Not affected
17.10 artful Not in release
17.04 zesty Not in release
16.04 LTS xenial
Fixed 4.11.0-1016.16
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
Fixed 4.4.0-9020.21
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
Fixed 4.13.0-1002.5
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 Ignored
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-42.46~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-42.46~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
Fixed 4.4.0-1012.17
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-103.126~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
Fixed 4.13.0-1010.11
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
Fixed 4.13.0-1008.8
17.04 zesty
Fixed 4.10.0-1023.26
16.04 LTS xenial
Fixed 4.4.0-1079.87
14.04 LTS trusty Not in release
linux-snapdragon 18.04 LTS bionic
Not affected
17.10 artful
Fixed 4.4.0-1081.86
17.04 zesty
Fixed 4.4.0-1081.86
16.04 LTS xenial
Fixed 4.4.0-1081.86
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

priority is low for linux_precise/esm, as unprivileged user namespaces is not implemented there.

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-3510-1
    • Linux kernel vulnerabilities
    • 8 December 2017
    • USN-3510-2
    • Linux kernel (Trusty HWE) vulnerabilities
    • 8 December 2017
    • USN-3511-1
    • Linux kernel (Azure) vulnerabilities
    • 8 December 2017
    • USN-3507-1
    • Linux kernel vulnerabilities
    • 7 December 2017
    • USN-3508-2
    • Linux kernel (HWE) vulnerabilities
    • 7 December 2017
    • USN-3507-2
    • Linux kernel (GCP) vulnerabilities
    • 8 December 2017
    • USN-3509-1
    • Linux kernel vulnerabilities
    • 7 December 2017
    • USN-3509-2
    • Linux kernel (Xenial HWE) vulnerabilities
    • 7 December 2017
    • USN-3508-1
    • Linux kernel vulnerabilities
    • 7 December 2017

Other references