CVE-2026-98787

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.

Package Linux Kernel
Published 2026-10-18
Last modified 2026-10-18
Patch available
Yes

Affected versions

Linux kernel versions 7.2 and later are affected. Fixed in 7.2.10, 7.3 and their respective stable series.

Affected from
≥ 7.2
Fixed in
✓ 7.2.10 7.2.x ✓ 7.3

Frequently asked questions

  • What is CVE-2026-98787?

    CVE-2026-98787 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 7.2 onward and has been patched in 7.2.10 and 7.3. CVE-2026-98787 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-98787?

    Yes. CVE-2026-98787 has been patched. Fixed versions include 7.2.10 and 7.3. If you are running Linux kernel 7.2 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-98787 actively exploited?

    No. CVE-2026-98787 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.