Security Advisory

CVE-2019-13272: Linux PTRACE_TRACEME Local Root

Last updated:
  • CVE-2019-13272

CVE-2019-13272 is a Linux kernel flaw in how ptrace_link() records credentials for PTRACE_TRACEME. When a privileged parent later drops privileges and runs another program, a local user can gain a privileged ptrace link and become root. NVD scores it 7.8 and CISA lists it as exploited. Kernels 4.19.58, 5.1.17 and other stable releases fix it.

Vulnerability summary

CVSS base score

7.8

High severity

EPSS score (FIRST)

52.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2019-13272 · Source: NVD

Affected components

ComponentCPEVersion range
Linux kernel (kernel/ptrace.c)cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*3.16.52 to before 3.16.71, 4.1.39 to before 4.2, 4.4.40 to before 4.4.185, 4.8.16 to before 4.9, 4.9.1 to before 4.9.185, 4.10 to before 4.14.133, 4.15 to before 4.19.58, 4.20 to before 5.1.17 (NVD); upstream fix 6994eefb0053
Debian linux packagepkg:deb/debian/linuxFixed in 3.16.70-1 for jessie (DLA-1862-1), 4.9.168-1+deb9u4 for stretch and 4.19.37-5+deb10u1 for buster (DSA-4484-1) (Debian security tracker, as of 2026-11-25)

What does this mean for affected devices?

NVD describes 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". It names Polkit's pkexec helper as one way to reach it and notes that "SELinux deny_ptrace might be a usable workaround in some environments." NVD's Primary score is CVSS v3.1 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), NVD CVSS v2 is 7.2, and CISA ADP also gives 7.8. MITRE is the CNA; NVD and CISA ADP record no specific CWE ("noinfo"), while CISA's KEV entry uses CWE-269, improper privilege management (NVD, CVE record).

What does the fix change?

Jann Horn's commit 6994eefb0053, "ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME", fixes two issues: an object lifetime problem when taking the parent's credentials, and recording the parent's credentials as if the parent were the subject. The commit always records the credentials of the process requesting the ptrace relationship. It carries a Fixes tag for 64b875f7ac8a ("ptrace: Capture the ptracer's creds not PT_PTRACE_CAP"), which is why NVD's ranges start mid-series. The backport is listed in the Linux 5.1.17 changelog.

Which kernels and devices are affected?

NVD's CPE ranges for linux:linux_kernel are 3.16.52 to before 3.16.71, 4.1.39 to before 4.2, 4.4.40 to before 4.4.185, 4.8.16 to before 4.9, 4.9.1 to before 4.9.185, 4.10 to before 4.14.133, 4.15 to before 4.19.58 and 4.20 to before 5.1.17. Debian's security tracker lists fixes in 3.16.70-1 for jessie (DLA-1862-1), 4.9.168-1+deb9u4 for stretch and 4.19.37-5+deb10u1 for buster (DSA-4484-1). Embedded Linux devices on a 4.4, 4.9, 4.14 or 4.19 kernel without the backport are affected wherever local code can run on them. No device vendor advisory is linked from the CVE record; NVD's configuration also lists NetApp appliances and management software, so check NetApp's own advisory for those.

How do you fix CVE-2019-13272?

Move the device kernel to at least 4.4.185, 4.9.185, 4.14.133, 4.19.58 or 5.1.17, or backport 6994eefb0053, and confirm the running version on the device. Where a fix cannot ship quickly, NVD's note on SELinux deny_ptrace is the documented workaround. Linux kernel CVEs on embedded devices explains how to match a firmware kernel to fixes like this. Other exploited local-root kernel flaws: CVE-2022-0847 (Dirty Pipe) and CVE-2022-0492 (cgroups).

Is CVE-2019-13272 exploited?

Yes. CISA added it to the KEV catalog on 2021-12-10 with the required action "Apply updates per vendor instructions." and a due date of 2022-06-10; known ransomware campaign use is listed as Unknown. It is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.52199, the 98.98th percentile, in the 2026-11-24 dataset (FIRST EPSS); KEV and EPSS prioritization explains how to rank a bug with both signals this high.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD (read 2026-11-25): status Analyzed, published 2019-07-17; description before 5.1.17, ptrace_link mishandles credentials, local root, Polkit pkexec with PTRACE_TRACEME, SELinux deny_ptrace workaround; NVD Primary CVSS v3.1 7.8, NVD v2 7.2; CISA ADP 7.8; CWE NVD-CWE-noinfo; CPE ranges 3.16.52-<3.16.71, 4.1.39-<4.2, 4.4.40-<4.4.185, 4.8.16-<4.9, 4.9.1-<4.9.185, 4.10-<4.14.133, 4.15-<4.19.58, 4.20-<5.1.17; NetApp CPEs. — NVD
  • CVE record: PUBLISHED, CNA mitre; CISA ADP 7.8, CWE-noinfo. — CVE.org
  • Commit 6994eefb0053 (Jann Horn, 2019-07-04) 'ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME': fixes RCU-to-stable reference lifetime issue and recording of parent's creds; always records credentials of requesting process; Fixes 64b875f7ac8a; Cc stable. — kernel.org
  • Linux 5.1.17 ChangeLog includes 'ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME' (commit 6994eefb0053 upstream). — kernel.org ChangeLog
  • Debian tracker: jessie 3.16.70-1 (DLA-1862-1), stretch 4.9.168-1+deb9u4 (DSA-4484-1), buster 4.19.37-5+deb10u1 (DSA-4484-1), unstable 4.19.37-6. — Debian security tracker
  • KEV catalog 2026.11.24: dateAdded 2021-12-10, due 2022-06-10, required action 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-269. — CISA KEV
  • EPSS 0.52199, percentile 0.98976, dataset 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Linux commit 6994eefb0053: ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
  3. Linux 5.1.17 ChangeLog
  4. Debian security tracker CVE-2019-13272
  5. CVE.org record CVE-2019-13272 (CNA: MITRE)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which Linux kernel versions fix CVE-2019-13272?

NVD's affected ranges end before 3.16.71, 4.4.185, 4.9.185, 4.14.133, 4.19.58 and 5.1.17, so those stable releases and later carry the fix, upstream commit 6994eefb0053. Debian fixed it in 4.9.168-1+deb9u4 for stretch and 4.19.37-5+deb10u1 for buster (per NVD and the Debian security tracker).

Is there a workaround for CVE-2019-13272?

NVD's description notes that SELinux deny_ptrace might be a usable workaround in some environments. The fix itself is a kernel update or a backport of commit 6994eefb0053 (per NVD and kernel.org).

Is CVE-2019-13272 exploited in the wild?

Yes. CISA added it to KEV on 2021-12-10 and lists it as of 2026-11-25 in catalog version 2026.11.24, with ransomware use Unknown. FIRST EPSS gives 0.52199, the 98.98th percentile, in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).