2084AI Security Observatory

CVE

CVE-2019-13272

CVE-2019-13272HIGH 7.8KEVEPSS 99%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 4.20, < 5.1.17Fixed in 5.1.17
  • ≥ 4.15, < 4.19.58Fixed in 4.19.58
  • ≥ 4.10, < 4.14.133Fixed in 4.14.133
  • ≥ 4.9.1, < 4.9.185Fixed in 4.9.185
  • ≥ 4.8.16, < 4.9Fixed in 4.9
  • ≥ 4.4.40, < 4.4.185Fixed in 4.4.185
  • ≥ 4.1.39, < 4.2Fixed in 4.2
  • ≥ 3.16.52, < 3.16.71Fixed in 3.16.71

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.