CVE-2021-31440
mediumpriority · track · 39EPSS 0.018 · 78 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.6–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- WhatsWrongAndWhy/CVE-2021-31440WhatsWrongAndWhy/CVE-2021-31440PoC · poc_in_github
affected products (32)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0137Android Patchday Juni 2022Deutsch2022-06-06csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Google Android ausnutzen, um seine Privilegien zu erhöhen, vertrauliche Informationen offenzulegen, beliebigen Code auszuführen und einen Denial-of-Service-Zustand auszulösen.
- PUB-A-1896145722022-06-01vendor · osvUS
In __reg_combine_64_into_32 of verifier.c, there is a possible out of bounds write due to an integer overflow. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-31440cnnvd
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=10bf4e83167cc68595b85fd73bb91e8f2c086e36cnnvd
- https://packetstormsecurity.com/files/163249/Ubuntu-Security-Notice-USN-4997-1.htmlcnnvd
- https://packetstormsecurity.com/files/163301/Ubuntu-Security-Notice-USN-4997-2.htmlcnnvd
- https://security.netapp.com/advisory/ntap-20210706-0003/cnnvd
- https://source.android.com/security/bulletin/pixel/2022-06-01cnnvd
- https://vigilance.fr/vulnerability/Linux-kernel-integer-overflow-via-eBPF-35228cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.2216cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan