FlawAtlas
Search the atlas
UBUNTU-CVE-2019-13272 High

UBUNTU-CVE-2019-13272

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.

Exploit probability Not scored
Published July 17, 2019
Required by Not available
Last source change August 17, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:16.04:LTS linux-snapdragon

65 explicit affected versions

Ubuntu:18.04:LTS linux-oem

23 explicit affected versions

Ubuntu:18.04:LTS linux-oem-osp1

3 explicit affected versions

Ubuntu:18.04:LTS linux-aws

29 explicit affected versions

Ubuntu:18.04:LTS linux-oracle

10 explicit affected versions

Ubuntu:Pro:FIPS-updates:18.04:LTS linux-azure-fips

1 explicit affected versions

Ubuntu:18.04:LTS linux

33 explicit affected versions

Ubuntu:Pro:FIPS:18.04:LTS linux-gcp-fips

1 explicit affected versions

Ubuntu:24.04:LTS linux-raspi-realtime

1 explicit affected versions

Ubuntu:20.04:LTS linux-riscv

12 explicit affected versions

Ubuntu:22.04:LTS linux-intel-iot-realtime

1 explicit affected versions

Ubuntu:16.04:LTS linux-kvm

33 explicit affected versions

Ubuntu:18.04:LTS linux-hwe-edge

10 explicit affected versions

Ubuntu:16.04:LTS linux-oracle

10 explicit affected versions

Ubuntu:Pro:14.04:LTS linux-aws

34 explicit affected versions

Ubuntu:18.04:LTS linux-snapdragon

9 explicit affected versions

Ubuntu:18.04:LTS linux-kvm

27 explicit affected versions

Ubuntu:Pro:FIPS:18.04:LTS linux-azure-fips

1 explicit affected versions

Ubuntu:18.04:LTS linux-gke-4.15

6 explicit affected versions

Ubuntu:22.04:LTS linux-riscv

23 explicit affected versions

Ubuntu:Nvidia-BlueField:24.04:LTS linux-bluefield

11 explicit affected versions

Ubuntu:16.04:LTS linux-raspi2

67 explicit affected versions

Ubuntu:18.04:LTS linux-raspi2

29 explicit affected versions

Ubuntu:16.04:LTS linux-gcp

34 explicit affected versions

Ubuntu:16.04:LTS linux

95 explicit affected versions

Ubuntu:20.04:LTS linux-gke

51 explicit affected versions

Ubuntu:16.04:LTS linux-azure

41 explicit affected versions

Ubuntu:Pro:FIPS:18.04:LTS linux-aws-fips

1 explicit affected versions

Ubuntu:Pro:FIPS-updates:18.04:LTS linux-aws-fips

1 explicit affected versions

Ubuntu:16.04:LTS linux-aws

54 explicit affected versions

Ubuntu:16.04:LTS linux-aws-hwe

12 explicit affected versions

Ubuntu:18.04:LTS linux-azure

30 explicit affected versions

Ubuntu:20.04:LTS linux-azure-fde

26 explicit affected versions

Ubuntu:18.04:LTS linux-gcp

26 explicit affected versions

Ubuntu:Pro:14.04:LTS linux-lts-xenial

75 explicit affected versions

Ubuntu:16.04:LTS linux-hwe

54 explicit affected versions

Ubuntu:Pro:FIPS:16.04:LTS linux-fips

9 explicit affected versions

Ubuntu:Pro:14.04:LTS linux-azure

21 explicit affected versions

Ubuntu:18.04:LTS linux-hwe

12 explicit affected versions

Ubuntu:22.04:LTS linux-realtime

1 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related USN-4117-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2019-13272

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.

View original source

05 / REFERENCES

Further evidence