CVE-2021-3444

published 23 Mar 2021 · updated 16 Sep 2024

Linux kernel bpf verifier incorrect mod32 truncation

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 5.10.19, Kernel 5.11.2, Kernel 5.4.101 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.10 <5.10.19, >=5.11 <5.11.2, >=5.4 <5.4.101, >=trunk <5.12-rc15.10.19, 5.11.2, 5.4.101, 5.12-rc1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3444 severity on Zeptric[![CVE-2021-3444](https://zeptric.io/badge/cve/CVE-2021-3444.svg)](https://zeptric.io/cve/CVE-2021-3444)