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.

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

CISA

Affected Software

56 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 Kernel
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
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

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 debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  6. Upgrade

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

    Fixed in 5.1.17
  7. Configuration

    If applicable in your environment, enable/ensure SELinux deny_ptrace is in effect as a workaround.

    SELinux deny_ptrace = enabled
  8. Compensating control

    Follow the Red Hat Knowledgebase article referenced in the material (Red Hat KB 4292201) for mitigation guidance for this ptrace privilege management flaw.

Event History

Jul 16, 2019
CVE Published
12:00 AM
Jul 17, 2019
CVE Published
via MITRE·12:32 PM
Data Sourced
via MITRE·12:32 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityAffected Software
Dec 10, 2021
Known Exploited
via CISA·12:00 AM
Jun 25, 2026
Data Sourced
via Launchpad·10:19 AM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·10:36 AM
RemedyDescriptionSeverityAffected Software
Aug 12, 2026
Data Sourced
via Debian·11:18 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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