---
id: CVE-2026-98599
title: >-
  kernel: bpf: Reject non-negative offsets in stack_slot_obj_get_spi()
  (CVE-2026-98599)
summary: >-
  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…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cvssSource: vendor
cwe: CWE-1285
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 9
  - openshift_container_platform 4
published: '2026-10-18'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T05:16:15+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98599.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98599.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98599'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2554970'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98599'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98599'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98599.mbox
  - url: 'https://git.kernel.org/stable/c/89a7241fc7ecc1b5e47c3f071081e314523b8d9d'
  - url: 'https://git.kernel.org/stable/c/79a9172f3ab4ad8392c5e5c8944b9b7710ade620'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00189
epssPercentile: 0.08471
ingestedAt: '2026-10-18T15:45:12.244Z'
---

## Overview

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.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98599.json)

**kernel: bpf: Reject non-negative offsets in stack_slot_obj_get_spi()** — rated Moderate by Red Hat. Released 2026-10-18, updated 2026-10-20.

Affected:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

No fix planned:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

Not affected:

- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

## Remediation

Fix deferred
