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-2019-13272

Publication date 17 July 2019

Last updated 21 August 2024


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.

From the Ubuntu Security Team

Jann Horn discovered that the ptrace implementation in the Linux kernel did not properly record credentials in some situations. A local attacker could use this to cause a denial of service (system crash) or possibly gain administrative privileges.

Status

Package Ubuntu Release Status
linux 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-25.26
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-58.64
16.04 LTS xenial
Fixed 4.4.0-159.187
14.04 LTS trusty
Not affected
linux-aws 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-1014.16
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1047.49
16.04 LTS xenial
Fixed 4.4.0-1090.101
14.04 LTS trusty Ignored
linux-aws-5.0 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-aws-hwe 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial
Fixed 4.15.0-1047.49~16.04.1
14.04 LTS trusty Not in release
linux-azure 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-1014.14
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 5.0.0-1014.14~18.04.1
16.04 LTS xenial
Fixed 4.15.0-1055.60
14.04 LTS trusty Ignored
linux-azure-5.3 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-azure-edge 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 5.0.0-1014.14~18.04.1
16.04 LTS xenial
Fixed 4.15.0-1055.60
14.04 LTS trusty Not in release
linux-euclid 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-flo 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-gcp 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-1013.13
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1040.42
16.04 LTS xenial
Fixed 4.15.0-1040.42~16.04.1
14.04 LTS trusty Not in release
linux-gcp-5.3 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-gcp-edge 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 4.15.0-1040.42
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-gke 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-gke-4.15 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Fixed 4.15.0-1040.42
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-gke-5.0 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-goldfish 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-grouper 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-hwe 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 5.0.0-25.26~18.04.1
16.04 LTS xenial
Fixed 4.15.0-58.64~16.04.1
14.04 LTS trusty Not in release
linux-hwe-edge 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Ignored
16.04 LTS xenial
Fixed 4.15.0-58.64~16.04.1
14.04 LTS trusty Not in release
linux-kvm 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-1013.14
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1042.42
16.04 LTS xenial
Fixed 4.4.0-1054.61
14.04 LTS trusty Not in release
linux-lts-trusty 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-utopic 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-vivid 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-wily 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-xenial 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored
linux-maguro 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-mako 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-manta 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-oem 19.10 eoan
Fixed 4.15.0-1050.57
19.04 disco
Fixed 4.15.0-1050.57
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1050.57
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-oem-5.4 19.10 eoan Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-oem-osp1 19.10 eoan
Fixed 5.0.0-1018.20
19.04 disco Ignored
18.04 LTS bionic
Fixed 5.0.0-1018.20
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-oracle 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-1004.8
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1021.23
16.04 LTS xenial
Fixed 4.15.0-1021.23~16.04.1
14.04 LTS trusty Not in release
linux-oracle-5.0 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-raspi2 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-1014.14
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1043.46
16.04 LTS xenial
Fixed 4.4.0-1118.127
14.04 LTS trusty Not in release
linux-raspi2-5.3 19.10 eoan Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-snapdragon 19.10 eoan Not in release
19.04 disco
Fixed 5.0.0-1018.19
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 4.15.0-1060.66
16.04 LTS xenial
Fixed 4.4.0-1122.128
14.04 LTS trusty Not in release

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-4118-1
    • Linux kernel (AWS) vulnerabilities
    • 2 September 2019
    • USN-4095-1
    • Linux kernel vulnerabilities
    • 13 August 2019
    • USN-4094-1
    • Linux kernel vulnerabilities
    • 13 August 2019
    • USN-4117-1
    • Linux kernel (AWS) vulnerabilities
    • 2 September 2019
    • USN-4093-1
    • Linux kernel vulnerabilities
    • 13 August 2019

Other references