Skip to main content

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch()… (CVE-2026-98787)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:03 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's BPF subsystem was fixed by adding missing migration protection in the __rhtab_map_lookup_and_delete_batch() function. The issue involved the use of this_cpu_ptr() without disabling CPU migration, which could cause a kernel BUG due to smp_processor_id() being used in preemptible code. The fix adds migrate_disable()/migrate_enable() calls around the delete loop to prevent CPU migration during this operation.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:21:16 UTC

Technical Analysis

The Linux kernel's BPF component had a missing migration protection in the __rhtab_map_lookup_and_delete_batch() function. The function calls rhtab_delete_elem() under rcu_read_lock(), which does not disable CPU migration on CONFIG_PREEMPT_RCU kernels. Since this_cpu_ptr() requires migration to be disabled, the task could migrate CPUs during the delete loop, triggering a kernel BUG related to smp_processor_id() usage in preemptible code. The patch adds migrate_disable()/migrate_enable() calls around the delete loop to align with protections used by other callers of rhtab_delete_elem().

Potential Impact

This vulnerability could cause a kernel BUG due to improper CPU migration handling during BPF map element deletion, potentially leading to system instability or crashes. There is no indication of code execution or privilege escalation from the provided data.

Mitigation Recommendations

A fix is available that adds migration disable/enable calls around the affected code section. Users should apply the official Linux kernel patches that address this issue. No alternative mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c3cw-2pj9-44qj
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98787"]

Threat ID: 6ad520aa2cdf04f6569939a4

Added to database: 10/18/2026, 19:40:26 UTC

Last enriched: 10/18/2026, 22:21:16 UTC

Last updated: 10/18/2026, 22:21:17 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses