CVE-2021-3444

Linux kernel bpf verifier incorrect mod32 truncation

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.

Remediation

Solution:

  • Apply or update to a kernel that contains the commit 9b00f1b78809 ("bpf: Fix truncation handling for mod32 dst reg wrt zero").

Categories

7.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.09%
Vendor Advisory kernel.org
Affected: Linux kernel
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-3444?
CVE-2021-3444 has been scored as a high severity vulnerability.
How to fix CVE-2021-3444?
To fix CVE-2021-3444: Apply or update to a kernel that contains the commit 9b00f1b78809 ("bpf: Fix truncation handling for mod32 dst reg wrt zero").
Is CVE-2021-3444 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-3444 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-3444?
CVE-2021-3444 affects Linux kernel.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.