Skip to main content
Network Thinking Solutions Logo

CVE-2021-3490

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.

All CVEs
CVE-2021-3490Published 6/4/2021

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.

Vendor advisory
CVSS7.8High

Overview

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
6/4/2021
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.10, < 5.10.37

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.11.21

Verify advisory

Source
linux kernel
linux
≥ 5.12, < 5.12.4

Verify advisory

Source
linux kernel
linux
5.13

Verify advisory

Source
linux kernel
linux
5.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
20.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
20.10

Verify advisory

Source
ubuntu linux
canonical
21.04

Verify advisory

Source
Linux kernel
Linux
≥ trunk, < v5.13-rc4

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux kernel
Linux
≥ linux-5.12.y, < v5.12.4

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux kernel
Linux
≥ linux-5.11.y, < v5.11.21

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux kernel
Linux
≥ linux-5.10.y, < v5.10.37

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux kernel
Linux
≥ v5.7-rc1, < 5.7*

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.