Disclosure Date 2021/10/12
CVE-2021-34866
Linux Kernel eBPF Type Confusion Privilege Escalation Vulnerability
Linux Kernel の eBPF における Type Confusion による権限昇格
Credit
Ryota Shiga (@Ga_ryo_)
Affected-Versions
Linux Kernel: v5.8 to v5.13.13
Description
This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs, which can result in a type confusion condition. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. https://www.zerodayinitiative.com/advisories/ZDI-21-1148/