Skip to main content

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject non-negative offsets in stack_slot_obj_get_spi() bpf_get_spi()… (CVE-2026-98599)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:56 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's BPF subsystem allowed non-negative offsets in stack_slot_obj_get_spi(), which could cause incorrect validation of pointers referencing the BPF stack. This flaw could enable a kernel function to interpret memory outside the BPF stack as iterator state, potentially leading to unintended behavior. The issue has been resolved by rejecting non-negative offsets before converting them to stack pointer indices.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 21:18:49 UTC

Technical Analysis

The Linux kernel BPF subsystem had a vulnerability where bpf_get_spi() computed stack pointer indices using C division that truncates toward zero, causing off == 0 to produce spi 0, overlapping with a valid stack slot at fp-8. The function stack_slot_obj_get_spi() checked alignment and bounds but did not reject non-negative offsets, allowing a PTR_TO_STACK register holding fp+0 to be validated against an iterator stored at fp-8. This mismatch could let an effectful iterator kernel function interpret memory outside the BPF stack as iterator state. The fix involves rejecting non-negative offsets before converting them to stack pointer indices, ensuring all valid stack objects start at negative offsets from the frame pointer.

Potential Impact

This vulnerability could allow kernel BPF programs to misinterpret memory outside the intended BPF stack region, potentially leading to incorrect program behavior or memory corruption within the kernel. However, no known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to reject non-negative offsets in stack_slot_obj_get_spi(). Users should update to the fixed kernel version once available. Patch status is not yet confirmed; check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6688-ppfm-xwh9
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98599"]

Threat ID: 6ad520ae2cdf04f656993a87

Added to database: 10/18/2026, 19:40:30 UTC

Last enriched: 10/18/2026, 21:18:49 UTC

Last updated: 10/18/2026, 23:28:13 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses