CVE-2026-98787
Last modified
CVE-2026-98787 is a vulnerability of currently unknown severity. 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..
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < 94f41ec5fa578765b74ad5736c2f029e7aabc46d; >= 818e0084822742fc00eacbf5df3476a5e72c7d0e, < de020dc8049bfb2b22e3b6d99c031feb2e22d112 |
| Linux | Linux | 7.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98787?
How severe is CVE-2026-98787?
How do I fix CVE-2026-98787?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98781In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98782In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98783In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98784In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98785In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98786In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98788In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98789In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9879Out of bounds write in ANGLE in Google Chrome prior to 148.0…8.8
- CVE-2026-98790In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98791In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98792In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98787?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
