Use-after-free vulnerability in selinux_ptrace_traceme allows local privilege escalation

Use-after-free vulnerability in selinux_ptrace_traceme allows local privilege escalation

CVE-2021-43057 · HIGH Severity

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

An issue was discovered in the Linux kernel before 5.14.8. A use-after-free in selinux_ptrace_traceme (aka the SELinux handler for PTRACE_TRACEME) could be used by local attackers to cause memory corruption and escalate privileges, aka CID-a3727a8bac0a. This occurs because of an attempt to access the subjective credentials of another task.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.