CVE-2026-98149
bpf: Fix percpu map update indexing with sparse CPU IDs
Mitigation
- Upgrade Linux to 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7 or later.
Who should check
- Anyone running Linux >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < c16c62c91e5d6737a9fbb0a541b8b34610470a2b; >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7
- Anyone running Linux 7.0
Vulnerability facts
- Affected
- Linux >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < c16c62c91e5d6737a9fbb0a541b8b34610470a2b; >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7; Linux 7.0
- Fixed in
- Linux 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix percpu map update indexing with sparse CPU IDs Per-CPU array, hash, and cgroup storage map updates without BPF_F_CPU or BPF_F_ALL_CPUS use a value buffer whose per-CPU slots are packed in possible-CPU order. The buffer is sized as: round_up(value_size, 8) * num_possible_cpus() The update paths iterate over possible CPUs, but use the logical CPU ID to calculate the source offset: value + size * cpu This only works when possible CPU IDs are contiguous starting at zero. For example, with a possible CPU mask of 0,2-3, the buffer contains three slots corresponding to CPUs 0, 2, and 3. CPU2 is therefore expected to use slot 1 and CPU3 slot 2. Instead, the current code uses slots 2 and 3 respectively, causing incorrect per-CPU values and an out-of-bounds read from the update buffer for CPU3. The corresponding lookup paths already use a dense offset while iterating over possible CPUs. Do the same for the array, hash, and cgroup storage update paths, advancing the source offset once for each possible CPU. BPF_F_ALL_CPUS continues to use the same value for every CPU.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98149. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98149.md Affected: Linux >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < c16c62c91e5d6737a9fbb0a541b8b34610470a2b; >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7; Linux 7.0 Fixed in: Linux 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98149 being exploited?
There is no confirmed exploitation: CVE-2026-98149 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98149?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-98149?
Linux >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < c16c62c91e5d6737a9fbb0a541b8b34610470a2b; >= 8eb76cb03f0f6c2bd7b15cf45dcffcd6bd07a360, < 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7; Linux 7.0.
Is there a fix for CVE-2026-98149?
Yes. Fixed in Linux 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7. Upgrade Linux to 75b0a6db4300e4c2c9e97a0848deaa7acfb42fb7 or later.
How do I check if I'm affected by CVE-2026-98149?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.