Vulnerability details

CVE-2026-98376

Linux Linux

bpf: Use array_map_meta_equal for percpu array inner map replacement

CVSS 3.1
7.8High

Official description

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.

CVSS scores

ScoreVersionSourceVector
7.8High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 6.10 CVEProject cvelistV5 (CNA)
Linux Linux db69718b8efac802c7cc20d5a6c7dfc913f99c43 ≤ v < 593980175389a05793f6060aa20e626330960395 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-10-09
Last updated
2026-10-24
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.15%
Probability of exploitation in 30 days
4.9%
Percentile (among all CVEs)

Weaknesses (CWE)

  • —