CVE-2026-98787
bpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < 94f41ec5fa578765b74ad5736c2f029e7aabc46d; >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < de020dc8049bfb2b22e3b6d99c031feb2e22d112
- Anyone running Linux 7.2
Vulnerability facts
- Affected
- Linux >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < 94f41ec5fa578765b74ad5736c2f029e7aabc46d; >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < de020dc8049bfb2b22e3b6d99c031feb2e22d112; Linux 7.2
- Fixed in
- Linux 94f41ec5fa578765b74ad5736c2f029e7aabc46d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch() bpf_mem_cache_free_rcu() uses this_cpu_ptr() which requires migration to be disabled. All callers of rhtab_delete_elem() disable migration except __rhtab_map_lookup_and_delete_batch(), which calls it under rcu_read_lock() only. On CONFIG_PREEMPT_RCU, rcu_read_lock() does not disable preemption or migration, so the task can migrate between CPUs during the delete loop, causing this_cpu_ptr() to trigger: BUG: using smp_processor_id() in preemptible [00000000] code Fix by wrapping the delete loop in migrate_disable()/migrate_enable() in __rhtab_map_lookup_and_delete_batch(), matching the migration protection that the other callers already provide.
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-98787. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98787.md Affected: Linux >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < 94f41ec5fa578765b74ad5736c2f029e7aabc46d; >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < de020dc8049bfb2b22e3b6d99c031feb2e22d112; Linux 7.2 Fixed in: Linux 94f41ec5fa578765b74ad5736c2f029e7aabc46d 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-98787 being exploited?
There is no confirmed exploitation: CVE-2026-98787 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98787?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98787?
Linux >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < 94f41ec5fa578765b74ad5736c2f029e7aabc46d; >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < de020dc8049bfb2b22e3b6d99c031feb2e22d112; Linux 7.2.
Is there a fix for CVE-2026-98787?
Yes. Fixed in Linux 94f41ec5fa578765b74ad5736c2f029e7aabc46d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98787?
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.