CVE-2026-98042
kernel: bpf: Don't resurrect a scalar id dropped by collect_linked_regs()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 25, 2026
Updated · September 29, 2026
Description
A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) verifier. A local user with permissions to load BPF programs could exploit this vulnerability to achieve privilege escalation or cause a denial of service (DoS). The issue stems from improper handling of register states during conditional jump evaluations, where the verifier mistakenly restores discarded register identifiers and tracks value ranges incorrectly. By submitting a specially crafted BPF program, an attacker can bypass safety checks enforced by the kernel.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-787 · Out-of-bounds Write