CVE-2021-3444

Linux kernel bpf verifier incorrect mod32 truncation

HIGH
7.8
CVSS Score
Published: March 23, 2021 at 05:45 PM UTC
Updated: June 17, 2026 at 04:05 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxUbuntu Linux

Using kernel by Linux?

Get instant alerts when new vulnerabilities affect kernel - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.6%

Description

The bpf verifier in the Linux kernel did not properly handle mod32 destination register truncation when the source register was known to be 0. A local attacker with the ability to load bpf programs could use this gain out-of-bounds reads in kernel memory leading to information disclosure (kernel memory), and possibly out-of-bounds writes that could potentially lead to code execution. This issue was addressed in the upstream kernel in commit 9b00f1b78809 ("bpf: Fix truncation handling for mod32 dst reg wrt zero") and in Linux stable kernels 5.11.2, 5.10.19, and 5.4.101.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.1015.10 ≤ v < 5.10.195.11 ≤ v < 5.11.25.4 ≤ v < 5.4.1015.5.0 ≤ v < 5.10.19trunk ≤ v < 5.12-rc15.105.115.4trunk
Affected range stops below 5.10.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.11.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.12-rc1, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.4.101, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

7.8HIGHcanonical
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-681CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card