CVE-2021-3490
CVE-2021-3490 — Linux kernel eBPF bitwise ops ALU32 bounds tracking
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).
Published Updated Sources: cvelistV5, canonical
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
27%
chance of exploitation in 30 days
CVSS base
7.8
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-787
- CWE-20
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /OR.
References
7 on the record
- ubuntu.com/security/notices/USN-4950-1
vendor-advisory, x_refsource_UBUNTU
- ubuntu.com/security/notices/USN-4949-1
vendor-advisory, x_refsource_UBUNTU
- www.openwall.com/lists/oss-security/2021/05/11/11
mailing-list, x_refsource_MLIST
- git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=049c4e13714ecbca567b4d5f6d563f05d431c80e
x_refsource_MISC
- www.zerodayinitiative.com/advisories/ZDI-21-606/
x_refsource_MISC
- security.netapp.com/advisory/ntap-20210716-0004/
x_refsource_CONFIRM
- packetstormsecurity.com/files/164015/Linux-eBPF-ALU32-32-bit-Invalid-Bounds-Tracking-Local-Privilege-Escalation.html
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2013-6282 Linux Kernel Improper Input Validation VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2022-0185 Linux Kernel Heap-Based Buffer Overflow VulnerabilityCVSS 8.4 · CISA KEV
- CVE-2026-53362 Linux Kernel Unspecified VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-53197 Linux Kernel Out-of-Bounds Access VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-53104 Linux Kernel Out-of-Bounds Write VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-36971 Android Kernel Remote Code Execution VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.