UBUNTU-CVE-2021-31440
This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. 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 arbitrary code in the context of the kernel. Was ZDI-CAN-13661.
02 / AFFECTED SOFTWARE
Affected packages
23 explicit affected versions
6 explicit affected versions
10 explicit affected versions
44 explicit affected versions
16 explicit affected versions
4 explicit affected versions
38 explicit affected versions
13 explicit affected versions
12 explicit affected versions
9 explicit affected versions
33 explicit affected versions
43 explicit affected versions
10 explicit affected versions
50 explicit affected versions
7 explicit affected versions
1 explicit affected versions
1 explicit affected versions
1 explicit affected versions
19 explicit affected versions
13 explicit affected versions
1 explicit affected versions
6 explicit affected versions
12 explicit affected versions
9 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. 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 arbitrary code in the context of the kernel. Was ZDI-CAN-13661.
05 / REFERENCES
Further evidence
- https://git.kernel.org/linus/10bf4e83167cc68595b85fd73bb91e8f2c086e36
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=10bf4e83167cc68595b85fd73bb91e8f2c086e36
- https://ubuntu.com/security/CVE-2021-31440
- https://ubuntu.com/security/notices/USN-4997-1
- https://ubuntu.com/security/notices/USN-4997-2
- https://ubuntu.com/security/notices/USN-4999-1
- https://ubuntu.com/security/notices/USN-5001-1
- https://www.cve.org/CVERecord?id=CVE-2021-31440
- https://www.zerodayinitiative.com/advisories/ZDI-21-503/