CVE-2026-98376

CVE-2026-98376

published October 9, 2026

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

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

bpf: Use array_map_meta_equal for percpu array inner map replacement

percpu_array_map_ops.map_meta_equal points to the generic

bpf_map_meta_equal(), which does not compare max_entries. When a

percpu array serves as an inner map, replacing it with one that has

fewer max_entries bypasses the check. Since percpu_array_map_gen_lookup()

inlines the original template's index_mask as a JIT immediate, a lookup

on the replacement map can access pptrs[] out of bounds.

Point percpu_array_map_ops.map_meta_equal to array_map_meta_equal(),

which already enforces the max_entries equality check.

Add a selftest to verify that replacing a percpu array inner map with

a differently-sized one is rejected.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00148 · 3.7th percentile
Published
2026-10-09T12:16Z
References (1)
EPSS history
Timeline
  • 10 OCT 03:32Z
    EPSS moved — → 0%
    epss
  • 09 OCT 07:34Z
    bpf: Use array_map_meta_equal for percpu array inner map replacement
    cvelistv5
  • 09 OCT 07:34Z
    bpf: Use array_map_meta_equal for percpu array inner map replacement
    cvelistv5