CVE Database›Document archive›CVE-2026-98599

CVE-2026-98599

kernel: bpf: Reject non-negative offsets in stack_slot_obj_get_spi()

Loading…

Severity

Moderate

Red Hat Product Security

6.7

CVSS 3.1

Review impact separately from score.

Published · October 18, 2026

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) verifier. A local attacker can exploit this flaw to cause kernel memory corruption and potentially achieve privilege escalation or a denial of service (system crash). This vulnerability occurs because the verifier fails to reject non-negative stack offsets, allowing a crafted BPF program to improperly access and interpret memory outside the allocated stack boundaries.

Statement

This vulnerability is rated as having Moderate impact for Red Hat Enterprise Linux because exploitation requires local access with elevated privileges, specifically administrative or BPF-loading capabilities, to load programs utilizing iterator kfuncs. Standard Red Hat deployments disable unprivileged eBPF by default, substantially restricting the attack surface to trusted or administrative accounts. While successfully bypassing stack validation can lead to out-of-bounds kernel memory corruption or host denial of service, the prerequisite of high privilege prevents direct exploitation by unprivileged local users.

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 · 6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-1285 · Improper Validation of Specified Index, Position, or Offset in Input