CVE-2019-13272: Linux Kernel Improper Privilege Management Vulnerability

Published Jul 16, 2019
·
Updated

A flaw in the kernels implementation of ptrace which could inadvertantly grant elevated permissions to an attacker who could abuse the relationship between tracer and the process being traced.

The mechanism used to link the process requesting the ptrace and the process being ptraced could allow a local user to obtain root level priviledges by creating an opportunity to abuse the frequently used pattern of dropping privileges and then execve a child with reduced privileges/permissions.

References: https://bugs.chromium.org/p/project-zero/issues/detail?id=1903 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6994eefb0053799d2e07cd140df6c2ea106c41ee https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee

Other sources

A flaw was found in the way PTRACETRACEME functionality was handled in the Linux kernel. The kernel's implementation of ptrace can inadvertently grant elevated permissions to an attacker who can then abuse the relationship between the tracer and the process being traced. This flaw could allow a local, unprivileged user to increase their privileges on the system or cause a denial of service.

In the Linux kernel before 5.1.17, ptracelink 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 PTRACETRACEME. NOTE: SELinux denyptrace might be a usable workaround in some environments.

— Ubuntu

Kernel/ptrace.c in Linux kernel mishandles contains an improper privilege management vulnerability that allows local users to obtain root access.

— CISA

Affected Software

96 affected componentsFixes available
redhat/kernel-alt<0:4.14.0-115.12.1.el7a
0:4.14.0-115.12.1.el7a
redhat/kernel-rt<0:4.18.0-80.7.2.rt9.154.el8_0
0:4.18.0-80.7.2.rt9.154.el8_0
redhat/kernel<0:4.18.0-80.7.2.el8_0
0:4.18.0-80.7.2.el8_0
redhat/kernel<5.1.17
5.1.17
Linux Linux kernel>=3.16.52<3.16.71
Linux Linux kernel>=4.1.39<4.2
Linux Linux kernel>=4.4.40<4.4.185
Linux Linux kernel>=4.8.16<4.9
Linux Linux kernel>=4.9.1<4.9.185
Linux Linux kernel>=4.10<4.14.133
Linux Linux kernel>=4.15<4.19.58
Linux Linux kernel>=4.20<5.1.17
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=29
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux For Real Time=8
NetApp Aff A700s Firmware
NetApp AFF A700s
NetApp H410c Firmware
NetApp H410c
NetApp H610s Firmware
NetApp H610s
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp E-series Performance Analyzer
NetApp E-Series SANtricity OS Controller>=11.0.0<=11.60.3
NetApp Hci Management Node
NetApp Service Processor
NetApp Solidfire
NetApp Steelstore Cloud Integrated Storage
NetApp Hci Compute Node
Canonical Ubuntu Linux=18.04
redhat Enterprise Linux For Arm 64=7.0_aarch64
redhat Enterprise Linux For Ibm Z Systems=7.0_s390x
redhat Enterprise Linux For Real Time For Nfv=8.0
redhat Enterprise Linux For Real Time For Nfv Tus=8.2
redhat Enterprise Linux For Real Time For Nfv Tus=8.4
redhat Enterprise Linux For Real Time For Nfv Tus=8.6
redhat Enterprise Linux For Real Time For Nfv Tus=8.8
redhat Enterprise Linux For Real Time Tus=8.2
redhat Enterprise Linux For Real Time Tus=8.4
redhat Enterprise Linux For Real Time Tus=8.6
redhat Enterprise Linux For Real Time Tus=8.8
All of the following
NetApp Aff A700s Firmware
NetApp AFF A700s
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H610s Firmware
NetApp H610s
Linux Kernel
ubuntu/linux-aws<4.4.0-1054.58
4.4.0-1054.58
ubuntu/linux-azure<4.15.0-1059.64~14.04.1
4.15.0-1059.64~14.04.1
ubuntu/linux-lts-xenial<4.4.0-164.192~14.04.1
4.4.0-164.192~14.04.1
ubuntu/linux<4.4.0-159.187
4.4.0-159.187
ubuntu/linux-aws<4.4.0-1090.101
4.4.0-1090.101
ubuntu/linux-aws-hwe<4.15.0-1047.49~16.04.1
4.15.0-1047.49~16.04.1
ubuntu/linux-azure<4.15.0-1055.60
4.15.0-1055.60
ubuntu/linux-gcp<4.15.0-1040.42~16.04.1
4.15.0-1040.42~16.04.1
ubuntu/linux-hwe<4.15.0-58.64~16.04.1
4.15.0-58.64~16.04.1
ubuntu/linux-kvm<4.4.0-1054.61
4.4.0-1054.61
ubuntu/linux-oracle<4.15.0-1021.23~16.04.1
4.15.0-1021.23~16.04.1
ubuntu/linux-raspi2<4.4.0-1118.127
4.4.0-1118.127
ubuntu/linux-snapdragon<4.4.0-1122.128
4.4.0-1122.128
ubuntu/linux-fips<4.4.0-1017.22
4.4.0-1017.22
ubuntu/linux<4.15.0-58.64
4.15.0-58.64
ubuntu/linux-aws<4.15.0-1047.49
4.15.0-1047.49
ubuntu/linux-azure<5.0.0-1014.14~18.04.1
5.0.0-1014.14~18.04.1
ubuntu/linux-gcp<4.15.0-1040.42
4.15.0-1040.42
ubuntu/linux-gke-4.15<4.15.0-1040.42
4.15.0-1040.42
ubuntu/linux-hwe<5.0.0-25.26~18.04.1
5.0.0-25.26~18.04.1
ubuntu/linux-kvm<4.15.0-1042.42
4.15.0-1042.42
ubuntu/linux-oem<4.15.0-1050.57
4.15.0-1050.57
ubuntu/linux-oem-osp1<5.0.0-1018.20
5.0.0-1018.20
ubuntu/linux-oracle<4.15.0-1021.23
4.15.0-1021.23
ubuntu/linux-raspi2<4.15.0-1043.46
4.15.0-1043.46
ubuntu/linux-snapdragon<4.15.0-1060.66
4.15.0-1060.66
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-fips<4.15.0-2018.18
4.15.0-2018.18
ubuntu/linux-azure-fips<4.15.0-2006.7
4.15.0-2006.7
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-azure-fde*
ubuntu/linux-gke*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-raspi-realtime*
debian/linux
3.16.70-14.9.168-1+deb9u44.19.37-5+deb10u14.19.37-6
debian/linux-4.9
4.9.168-1+deb9u4~deb8u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-alt to a version that resolves this vulnerability.

    Fixed in 0:4.14.0-115.12.1.el7a
  2. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-80.7.2.rt9.154.el8_0
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-80.7.2.el8_0
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.1.17
  5. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1054.58
  6. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1059.64~14.04.1
  7. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-164.192~14.04.1
  8. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-159.187
  9. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1090.101
  10. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1047.49~16.04.1
  11. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1055.60
  12. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1040.42~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-58.64~16.04.1
  14. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1054.61
  15. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1021.23~16.04.1
  16. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1118.127
  17. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1122.128
  18. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1017.22
  19. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-58.64
  20. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1047.49
  21. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.0.0-1014.14~18.04.1
  22. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1040.42
  23. Upgrade

    Upgrade ubuntu/linux-gke-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1040.42
  24. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 5.0.0-25.26~18.04.1
  25. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1042.42
  26. Upgrade

    Upgrade ubuntu/linux-oem to a version that resolves this vulnerability.

    Fixed in 4.15.0-1050.57
  27. Upgrade

    Upgrade ubuntu/linux-oem-osp1 to a version that resolves this vulnerability.

    Fixed in 5.0.0-1018.20
  28. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1021.23
  29. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1043.46
  30. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1060.66
  31. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2018.18
  32. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2006.7
  33. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.16.70-1Fixed in 4.9.168-1+deb9u4Fixed in 4.19.37-5+deb10u1Fixed in 4.19.37-6
  34. Upgrade

    Upgrade debian/linux-4.9 to a version that resolves this vulnerability.

    Fixed in 4.9.168-1+deb9u4~deb8u1
  35. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.1.17
  36. Configuration

    Enable SELinux deny_ptrace as a workaround in environments where it is usable.

    SELinux deny_ptrace = enabled

Event History

Jul 16, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 17, 2019
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·12:32 PM
Data Sourced
via MITRE·12:32 PM
Description
Jul 31, 2019
Exploit Published
via GitHub·04:51 AM
Oct 7, 2021
Data Sourced
via Red Hat·10:31 AM
DescriptionSeverityAffected Software
Dec 10, 2021
Kev Listed
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
DescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
Nov 7, 2023
Data Sourced
via NVD·03:03 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:03 AM
Affected Software
Jul 24, 2024
Updated
via NVD·04:51 PM
Affected Software
Nov 21, 2024
Updated
via NVD·04:24 AM
RemedyAffected Software
Feb 4, 2025
Updated
via NVD·09:15 PM
SeverityAffected Software
Updated
via NVD·09:15 PM
RemedySeverityAffected Software
Apr 3, 2025
Updated
via NVD·08:28 PM
Affected Software
Oct 21, 2025
Updated
via NVD·07:17 PM
Affected Software
Oct 22, 2025
Updated
via NVD·12:16 AM
Affected Software
Oct 18, 2026
Updated
via Ubuntu·12:00 AM
Description
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2019-13272?

CVE-2019-13272 is classified with medium severity due to its potential to grant elevated permissions to attackers.

2

How do I fix CVE-2019-13272?

To mitigate CVE-2019-13272, it is recommended to update the kernel to versions 5.1.17 or later, or the specific versions 0:4.14.0-115.12.1.el7a and 0:4.18.0-80.7.2.el8_0.

3

Which systems are affected by CVE-2019-13272?

CVE-2019-13272 affects various Linux kernel versions including RHEL, Ubuntu, Debian, and Fedora releases as detailed in the vulnerability report.

4

What is the exploit vector for CVE-2019-13272?

The exploit vector for CVE-2019-13272 involves a flaw in the ptrace implementation that can be abused by a malicious process observing another process.

5

Is there an official patch for CVE-2019-13272?

Yes, official patches addressing CVE-2019-13272 have been released and are included in the latest kernel updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203