Privilege escalation in ptrace credential handling
Overview
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.
- Published
- 7/17/2019
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
Known exploited · CISA KEV
The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.
Added to KEV: Not available
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 3.16.52, < 3.16.71 | Verify advisory | Source |
linux kernel linux | ≥ 4.1.39, < 4.2 | Verify advisory | Source |
linux kernel linux | ≥ 4.4.40, < 4.4.185 | Verify advisory | Source |
linux kernel linux | ≥ 4.8.16, < 4.9 | Verify advisory | Source |
linux kernel linux | ≥ 4.9.1, < 4.9.185 | Verify advisory | Source |
linux kernel linux | ≥ 4.10, < 4.14.133 | Verify advisory | Source |
linux kernel linux | ≥ 4.15, < 4.19.58 | Verify advisory | Source |
linux kernel linux | ≥ 4.20, < 5.1.17 | Verify advisory | Source |
debian linux debian | 8.0 | Verify advisory | Source |
debian linux debian | 9.0 | Verify advisory | Source |
debian linux debian | 10.0 | Verify advisory | Source |
fedora fedoraproject | 29 | Verify advisory | Source |
ubuntu linux canonical | 16.04 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
ubuntu linux canonical | 18.04 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
ubuntu linux canonical | 19.04 | Verify advisory | Source |
enterprise linux redhat | 7.0 | Verify advisory | Source |
enterprise linux redhat | 8.0 | Verify advisory | Source |
enterprise linux for arm 64 redhat | 7.0_aarch64 | Verify advisory | Source |
enterprise linux for ibm z systems redhat | 7.0_s390x | Verify advisory | Source |
enterprise linux for real time redhat | 8 | Verify advisory | Source |
enterprise linux for real time for nfv redhat | 8.0 | Verify advisory | Source |
enterprise linux for real time for nfv tus redhat | 8.2 | Verify advisory | Source |
enterprise linux for real time for nfv tus redhat | 8.4 | Verify advisory | Source |
enterprise linux for real time for nfv tus redhat | 8.6 | Verify advisory | Source |
enterprise linux for real time for nfv tus redhat | 8.8 | Verify advisory | Source |
enterprise linux for real time tus redhat | 8.2 | Verify advisory | Source |
enterprise linux for real time tus redhat | 8.4 | Verify advisory | Source |
enterprise linux for real time tus redhat | 8.6 | Verify advisory | Source |
enterprise linux for real time tus redhat | 8.8 | Verify advisory | Source |
aff a700s firmware netapp | Range not specified — verify advisory | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
h410c firmware netapp | Range not specified — verify advisory | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
h610s firmware netapp | Range not specified — verify advisory | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
active iq unified manager netapp | Range not specified — verify advisory | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
e-series performance analyzer netapp | Range not specified — verify advisory | Verify advisory | Source |
e-series santricity os controller netapp | ≥ 11.0.0, ≤ 11.60.3 | Verify advisory | Source |
hci management node netapp | Range not specified — verify advisory | Verify advisory | Source |
service processor netapp | Range not specified — verify advisory | Verify advisory | Source |
solidfire netapp | Range not specified — verify advisory | Verify advisory | Source |
steelstore cloud integrated storage netapp | Range not specified — verify advisory | Verify advisory | Source |
n/a n/a | n/a | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.