ZDI-20-1440

Linux Kernel eBPF Improper Input Validation Vulnerability (Linux Kernel の eBPF における不適切な入力値検証)

Note that exploiting this bug requires CAP_SYS_ADMIN in init_user. So it doesn't affect most systems.

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 prior to executing them. An attacker can leverage this vulnerability to escalate privileges and execute code in the context of the kernel. https://www.zerodayinitiative.com/advisories/ZDI-20-1440/