Koffei

CVE-2019-13272

🟠 Medium In CISA KEV

Linux kernel ptrace_link (kernel/ptrace.c) (scanner: linux-headers-4.4.0-116,linux-image-extra-4.4.0-116-generic,linux-headers-4.4.0-116-generic,linux-libc-dev,linux-image-4.4.0-116-generic) · before 5.1.17

CVSS (Koffei note)
7.8
CVSS (v3.1, CVE List)
7.8
EPSS (2026-11-18)
52.199%
98.98th percentile
CISA KEV
2021-12-10
due 2022-06-10

Exploitation

Yes — CISA KEV since 10/12/2021 ; confirmed by the internal scanner

Timeline

  1. 17/07/2019CVE record published (CVE List)
  2. 10/12/2021Added to the CISA KEV catalogue
  3. 10/06/2022CISA deadline for US federal agencies

Risk

7.8 High (v3.1) — AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, EPSS 52.199% (CWE-noinfo : ptrace_link mishandles credential recording for PTRACE_TRACEME, letting local users obtain root via a parent that drops privileges and calls execve.)

Fix

Yes — 5.1.17 ([advisory](https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee ; https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17))

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

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H