CVE-2026-98041
kernel: bpf: Don't predict JMP32 pointer vs zero comparisons
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 25, 2026
Updated · October 30, 2026
Description
A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) verifier. The verifier incorrectly predicts that 32-bit conditional branch comparisons between a pointer and zero are always taken, failing to account for valid pointer values whose lower 32 bits can be zero. A local attacker could exploit this vulnerability by loading a specially crafted BPF program to bypass safety checks, potentially resulting in out-of-bounds kernel memory access and local privilege escalation.
Statement
This vulnerability is rated as Moderate impact because exploitation requires local system access and the ability to load extended BPF programs, which is restricted to privileged users by default on Red Hat Enterprise Linux. Although an inaccurate branch prediction during verification allows crafted programs to bypass safety constraints and access arbitrary kernel memory, standard configurations do not expose the eBPF subsystem to unprivileged local accounts. Consequently, an attacker cannot exploit this flaw to escalate privileges without already possessing elevated capabilities such as CAP_BPF or CAP_SYS_ADMIN.
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 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-125 · Out-of-bounds Read