CVE-2021-3444CWE-681

Linux kernel bpf verifier incorrect mod32 truncation

High · published March 23, 2021

CVSS v3.1
7.8
EPSS
1%
Percentile
48.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00610 · 48.5th percentile
Weakness
CWE-681 · Incorrect Conversion between Numeric Types
Published
2021-03-23T17:45Z
EPSS history
Timeline
  • 23 MAR 17:45Z
    Linux kernel bpf verifier incorrect mod32 truncation
    cvelistv5