CVE-2019-13272
Linux Kernel Improper Privilege Management Vulnerability
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2019-07-17
- Last modified
- 2026-06-17
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
52.2 %
higher than 99 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-12-10, with a remediation deadline of 2022-06-10 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Canonical | Ubuntu Linux | 16.04 | Affected |
| Canonical | Ubuntu Linux | 18.04 | Affected |
| Canonical | Ubuntu Linux | 19.04 | Affected |
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 8.0 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 29 | Affected |
| Linux | Linux Kernel | ≥ 3.16.52, < 3.16.71 | Affected |
| Linux | Linux Kernel | ≥ 4.1.39, < 4.2 | Affected |
| Linux | Linux Kernel | ≥ 4.10, < 4.14.133 | Affected |
| Linux | Linux Kernel | ≥ 4.15, < 4.19.58 | Affected |
| Linux | Linux Kernel | ≥ 4.20, < 5.1.17 | Affected |
| Linux | Linux Kernel | ≥ 4.4.40, < 4.4.185 | Affected |
| Linux | Linux Kernel | ≥ 4.8.16, < 4.9 | Affected |
| Linux | Linux Kernel | ≥ 4.9.1, < 4.9.185 | Affected |
| Netapp | Active Iq Unified Manager | all versions listed | Affected |
| Netapp | Aff A700s | all versions listed | Not affected |
| Netapp | Aff A700s Firmware | all versions listed | Affected |
| Netapp | E-series Performance Analyzer | all versions listed | Affected |
| Netapp | E-series Santricity Os Controller | ≥ 11.0.0, ≤ 11.60.3 | Affected |
| Netapp | H410c | all versions listed | Not affected |
| Netapp | H410c Firmware | all versions listed | Affected |
| Netapp | H610s | all versions listed | Not affected |
| Netapp | H610s Firmware | all versions listed | Affected |
| Netapp | Hci Compute Node | all versions listed | Affected |
| Netapp | Hci Management Node | all versions listed | Affected |
| Netapp | Service Processor | all versions listed | Affected |
| Netapp | Solidfire | all versions listed | Affected |
| Netapp | Steelstore Cloud Integrated Storage | all versions listed | Affected |
| Redhat | Enterprise Linux | 7.0 | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux For Arm 64 | 7.0_aarch64 | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems | 7.0_s390x | Affected |
| Redhat | Enterprise Linux For Real Time | 8 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv | 8.0 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.2 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.4 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.6 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.8 | Affected |
| Redhat | Enterprise Linux For Real Time Tus | 8.2 | Affected |
| Redhat | Enterprise Linux For Real Time Tus | 8.4 | Affected |
| Redhat | Enterprise Linux For Real Time Tus | 8.6 | Affected |
| Redhat | Enterprise Linux For Real Time Tus | 8.8 | Affected |
Weakness type
-
CWE-269: Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1548: Abuse Elevation Control Mechanism
References
- http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object…
- http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-ke…
- http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.…
- http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Loc…
- http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html
- http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Loca…
- https://access.redhat.com/errata/RHSA-2019:2405
- https://access.redhat.com/errata/RHSA-2019:2411
- https://access.redhat.com/errata/RHSA-2019:2809
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1903
- https://bugzilla.redhat.com/show_bug.cgi?id=1730895
- https://bugzilla.suse.com/show_bug.cgi?id=1140671
- 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=6994eefb005379…
- https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee
- https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html
- https://lists.debian.org/debian-lts-announce/2019/07/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://seclists.org/bugtraq/2019/Jul/30
- https://seclists.org/bugtraq/2019/Jul/33
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.