In the Linux kernel, the following vulnerability has been resolved: bpf: Avoid soft lockup in __htab_map_lookup_and_delete_batch()… (CVE-2026-98644)
Description
A vulnerability in the Linux kernel's BPF subsystem involving the __htab_map_lookup_and_delete_batch() function could cause a soft lockup on systems with many CPUs and large hash maps. The issue arises because the function lacks rescheduling points during batch operations, leading to prolonged CPU occupancy and triggering the soft lockup watchdog. This has been fixed by adding rescheduling points to avoid long CPU hold times during batch lookups and deletions.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's __htab_map_lookup_and_delete_batch() function in the BPF subsystem lacked rescheduling points during batch operations. The batch count limits how many entries are copied out but not how many buckets are visited, allowing a single BPF_MAP_LOOKUP_BATCH call to traverse the entire map. On large maps and multi-CPU systems, this caused CPUs to be held for extended periods (e.g., 77+ seconds on a 144-CPU arm64 host), triggering soft lockup watchdogs. The fix completes a prior patch by adding rescheduling points after processing 64 consecutive empty buckets and after copying data to user space, using cond_resched_tasks_rcu_qs() to yield and report quiescent states properly. This prevents CPUs from being held too long and avoids stalling RCU synchronization and tracing programs.
Potential Impact
Systems running affected Linux kernel versions with large BPF hash maps and many CPUs may experience soft lockups, where CPUs are held for excessive time during batch map operations. This can degrade system responsiveness and stall kernel tracing and BPF program teardown. The issue primarily affects kernels configured without preemption (CONFIG_PREEMPT_NONE) on architectures like arm64. There is no indication of code execution or privilege escalation impact.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to add rescheduling points in the __htab_map_lookup_and_delete_batch() function, preventing soft lockups during batch operations. Users should update to a kernel version that includes commit 75134f16e7dd and the subsequent fix completing it for the htab-native path. Patch status is confirmed by the vendor's commit history. No additional mitigations are required once the fix is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-p6rx-8wrq-4gc7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98644"]
Threat ID: 6ad520ad2cdf04f656993a62
Added to database: 10/18/2026, 19:40:29 UTC
Last enriched: 10/18/2026, 21:34:19 UTC
Last updated: 10/19/2026, 00:08:24 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.