{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3490","published":"2021-06-04T02:15:07.150000Z","last_modified":"2026-06-17T04:05:11.737000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-20","CWE-787","CWE-125"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.10","version_end_excluding":"5.10.37"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.11.21"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.12","version_end_excluding":"5.12.4"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:-:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"20.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:20.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"20.10"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"21.04"}],"cpes_truncated":false,"vendors":["linux","canonical"],"products":["linux/linux_kernel","canonical/ubuntu_linux"],"epss":{"score":0.27381,"percentile":0.98507,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":50,"links":{"html_es":"/es/cve/CVE-2021-3490/","html_en":"/en/cve/CVE-2021-3490/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3490","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3490"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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).","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux kernel","versions":[]}],"references":[{"url":"http://packetstormsecurity.com/files/164015/Linux-eBPF-ALU32-32-bit-Invalid-Bounds-Tracking-Local-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=049c4e13714ecbca567b4d5f6d563f05d431c80e","tags":["Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210716-0004/","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4949-1","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4950-1","tags":["Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/11/11","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-606/","tags":["Third Party Advisory","VDB Entry"]}]}}