CVE Feed

    Dashboard / CVE / CVE-2019-13272

    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 (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:Jul 16, 2019
    Last Modified:Nov 6, 2025
    EPS:Jul 17, 2019
    EPSS Score:0.80766
    CVSS Score:7.8

    CISA Notification

    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.

    Required Action:

    Apply updates per vendor instructions.

    Notes:

    No extra notes provided.

    Due Date
    Jun 10, 2022
    1554 days ago
    Alert Date
    Dec 10, 2021
    1736 days ago

    Affected Products

    Vendor
    Canonical
    Product
    Ubuntu Linux
    Vendor
    Debian
    Product
    Debian Linux
    Vendor
    Fedoraproject
    Product
    Fedora
    Vendor
    Linux
    Product
    Linux Kernel
    Vendor
    Netapp
    Product
    Active Iq Unified Manager
    Vendor
    Netapp
    Product
    Aff A700s
    Vendor
    Netapp
    Product
    Aff A700s Firmware
    Vendor
    Netapp
    Product
    E-series Performance Analyzer
    Vendor
    Netapp
    Product
    E-series Santricity Os Controller
    Vendor
    Netapp
    Product
    H410c
    Vendor
    Netapp
    Product
    H410c Firmware
    Vendor
    Netapp
    Product
    H610s
    Vendor
    Netapp
    Product
    H610s Firmware
    Vendor
    Netapp
    Product
    Hci Compute Node
    Vendor
    Netapp
    Product
    Hci Management Node
    Vendor
    Netapp
    Product
    Service Processor
    Vendor
    Netapp
    Product
    Solidfire
    Vendor
    Netapp
    Product
    Steelstore Cloud Integrated Storage
    Vendor
    Redhat
    Product
    Enterprise Linux
    Vendor
    Redhat
    Product
    Enterprise Linux For Arm 64
    Vendor
    Redhat
    Product
    Enterprise Linux For Ibm Z Systems
    Vendor
    Redhat
    Product
    Enterprise Linux For Real Time
    Vendor
    Redhat
    Product
    Enterprise Linux For Real Time For Nfv
    Vendor
    Redhat
    Product
    Enterprise Linux For Real Time For Nfv Tus
    Vendor
    Redhat
    Product
    Enterprise Linux For Real Time Tus

    Exploits

    http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.htmlhttp://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.htmlhttp://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.htmlhttp://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.htmlhttps://bugs.chromium.org/p/project-zero/issues/detail?id=1903http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.htmlhttp://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.htmlhttp://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.htmlhttp://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.htmlhttps://bugs.chromium.org/p/project-zero/issues/detail?id=1903https://www.exploit-db.com/exploits/47133https://github.com/asepsaepdin/CVE-2019-13272https://github.com/babyshen/CVE-2019-13272https://github.com/bigbigliang-malwarebenchmark/cve-2019-13272https://github.com/Chinmay1743/ptrace-vulnhttps://github.com/Cyc1eC/CVE-2019-13272https://github.com/datntsec/CVE-2019-13272https://github.com/GgKendall/secureCodingDemohttps://github.com/jana30116/CVE-2019-13272-Local-Privilege-Escalationhttps://github.com/jas502n/CVE-2019-13272https://github.com/josemlwdf/CVE-2019-13272https://github.com/letsr00t/CVE-2019-13272https://github.com/MDS1GNAL/ptrace_scope-CVE-2019-13272-privilege-escalationhttps://github.com/oneoy/CVE-2019-13272https://github.com/polosec/CVE-2019-13272https://github.com/RashmikaEkanayake/Privilege-Escalation-CVE-2019-13272-https://github.com/sumedhaDharmasena/-Kernel-ptrace-c-mishandles-vulnerability-CVE-2019-13272https://github.com/teddy47/CVE-2019-13272---Documentationhttps://github.com/Tharana/Exploiting-a-Linux-kernel-vulnerabilityhttps://github.com/Tharana/vulnerability-exploitationhttps://www.exploit-db.com/exploits/47163https://www.exploit-db.com/exploits/47543https://www.exploit-db.com/exploits/50541

    Common Attack Pattern Enumeration and Classification (CAPEC)

    No CAPEC recorded yet

    Related CVEs

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High