EUVD-2019-4779
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.
- EUVD state
- Present in the current official mapping
- Known exploitation
- Recorded by ENISA since 10 Dec 2021. Evidence sources: cisa_kev.
- ENISA score
- 7.8 · CVSS 3.1
- Advisory evidence
- 20 linked advisory records
Only statements that explicitly mention a fix, patch, update, workaround or mitigation are shown here.
- csaf_suse · SUSE-SU-2019:3230-1Security update for the Linux Kernel (Live Patch 28 for SLE 12 SP3)
- csaf_redhat · RHSA-2019:2405Red Hat Security Advisory: kernel-rt security update
- csaf_suse · SUSE-SU-2019:2984-1Security update for the Linux Kernel
- csaf_suse · SUSE-SU-2019:3232-1Security update for the Linux Kernel (Live Patch 27 for SLE 12 SP2)
- csaf_redhat · RHSA-2019:2809Red Hat Security Advisory: kernel-alt security, bug fix, and enhancement update
- csaf_suse · SUSE-SU-2019:3223-1Security update for the Linux Kernel (Live Patch 2 for SLE 12 SP4)
- csaf_suse · SUSE-SU-2019:3252-1Security update for the Linux Kernel (Live Patch 1 for SLE 12 SP4)
- csaf_suse · SUSE-SU-2019:3248-1Security update for the Linux Kernel (Live Patch 0 for SLE 15 SP1)
- csaf_suse · SUSE-SU-2019:3258-1Security update for the Linux Kernel (Live Patch 25 for SLE 12 SP3)
- csaf_suse · SUSE-SU-2019:3228-1Security update for the Linux Kernel (Live Patch 27 for SLE 12 SP3)
- csaf_redhat · RHSA-2019:2411Red Hat Security Advisory: kernel security update
- csaf_suse · SUSE-SU-2019:3261-1Security update for the Linux Kernel (Live Patch 31 for SLE 12 SP2)
- csaf_suse · SUSE-SU-2019:3247-1Security update for the Linux Kernel (Live Patch 9 for SLE 15)
- csaf_suse · SUSE-SU-2019:3225-1Security update for the Linux Kernel (Live Patch 4 for SLE 12 SP4)
- csaf_suse · SUSE-SU-2019:3260-1Security update for the Linux Kernel (Live Patch 29 for SLE 12 SP2)
- csaf_suse · SUSE-SU-2019:3246-1Security update for the Linux Kernel (Live Patch 8 for SLE 15)
- csaf_suse · SUSE-SU-2019:2949-1Security update for the Linux Kernel
- csaf_suse · SUSE-SU-2019:3224-1Security update for the Linux Kernel (Live Patch 3 for SLE 12 SP4)
- csaf_suse · SUSE-SU-2019:3263-1Security update for the Linux Kernel (Live Patch 32 for SLE 12 SP2)
- csaf_suse · SUSE-SU-2019:3249-1Security update for the Linux Kernel (Live Patch 1 for SLE 15 SP1)
