CVE-2026-98599

CVE-2026-98599

published October 18, 2026

CVSS
—
EPSS
0%
Percentile
8.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

bpf: Reject non-negative offsets in stack_slot_obj_get_spi()

bpf_get_spi() computes (-off - 1) / BPF_REG_SIZE using C division,

which truncates toward zero. For off == 0, this produces spi 0, the

same index used by the valid stack slot at fp-8.

stack_slot_obj_get_spi() currently checks alignment and the resulting

spi bounds, but does not reject the non-negative offset itself. It can

therefore validate a PTR_TO_STACK register holding fp+0 against an

iterator stored at fp-8 even though the runtime receives the actual fp+0

pointer. An effectful iterator kfunc can then interpret memory outside

the BPF stack as iterator state.

Reject non-negative offsets before converting the offset to an spi. All

valid stack objects begin at a negative offset from the frame pointer.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00189 · 8.1th percentile
Published
2026-10-18T20:17Z
References (2)
EPSS history
Timeline
  • 20 OCT 03:34Z
    EPSS moved — → 0%
    epss
  • 18 OCT 15:19Z
    bpf: Reject non-negative offsets in stack_slot_obj_get_spi()
    cvelistv5
  • 18 OCT 15:19Z
    bpf: Reject non-negative offsets in stack_slot_obj_get_spi()
    cvelistv5