Privilege escalation in Linux Kernel ptrace_link

Published: 2019-07-22 | Updated: 2019-10-23
Severity Low
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2019-13272
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Advisory

Updated: 23.10.2019
Added link to a functional exploit, updated CVSS score to reflect the exploit availability.

1) Permissions, Privileges, and Access Controls

Severity: Low

CVSSv3: 7.2 [CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C] [PCI]

CVE-ID: CVE-2019-13272

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls


The vulnerability allows a local user to perform unauthorized actions on a targeted system.

The vulnerability exists when recording the credentials of a process that will create a ptrace relationship in the "ptrace_link" function in the "kernel/ptrace.c" file. A local authenticated user can create a specially crafted application and escalate privileges on the system.


Install updates from vendor's website.

Vulnerable software versions

Linux kernel: 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.1.7, 5.1.8, 5.1.9, 5.1.10, 5.1.11, 5.1.12, 5.1.13, 5.1.14, 5.1.15, 5.1.16

CPE External links

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.