CVE-2021-3490
highpriority · attend · 51EPSS 0.274 · 98 %ileexploit · weaponizedEURUUSEPSS · scored 2026-10-27
The eBPF ALU32 bounds tracking for bitwise ops (AND, OR and XOR) in the Linux kernel did not properly update 32-bit bounds, which could be turned into out of bounds reads and writes in the Linux kernel and therefore, arbitrary code execution. This issue was fixed via commit 049c4e13714e ("bpf: Fix alu32 const subreg bound tracking on bitwise operations") (v5.13-rc4) and backported to the stable kernels in v5.12.4, v5.11.21, and v5.10.37. The AND/OR issues were introduced by commit 3f50f132d840 ("bpf: Verifier, do explicit ALU32 bounds tracking") (5.7-rc1) and the XOR variant was introduced by 2921c90d4718 ("bpf:Fix a verifier failure with xor") ( 5.10-rc1).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (6)
Public proof-of-concept and weaponised exploit code.
- WhatsWrongAndWhy/CVE-2021-3490WhatsWrongAndWhy/CVE-2021-3490PoC · poc_in_github
- pivik271/CVE-2021-3490pivik271/CVE-2021-3490PoC · poc_in_github
- prabeershakya/CVE-2021-3490-POCprabeershakya/CVE-2021-3490-POCPoC · poc_in_github
affected products (27)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- PUB-A-1908766662021-10-01vendor · osvUS
In scalar32_min_max_and and related functions of verifier.c, there is a possible out of bounds write due to an incorrect bounds check. 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 (32)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-3490cnnvd
- https://cxsecurity.com/issue/WLB-2021090010cnnvd
- https://device.harmonyos.com/cn/docs/security/update/security-bulletins-wearables-202111-0000001172568432cnnvd
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=049c4e13714ecbca567b4d5f6d563f05d431c80ecnnvd
- https://packetstormsecurity.com/files/162548/Ubuntu-Security-Notice-USN-4950-1.htmlcnnvd
- https://packetstormsecurity.com/files/164015/Linux-eBPF-ALU32-32-bit-Invalid-Bounds-Tracking-Local-Privilege-Escalation.htmlcnnvd
- https://security.netapp.com/advisory/ntap-20210716-0004/cnnvd
- https://ubuntu.com/security/CVE-2021-3490Patchcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan