In the Linux kernel, the following vulnerability has been resolved: bpf: Fix objects stuck in free_by_rcu_ttrace do_call_rcu_ttrace() returns early… (CVE-2026-98789)
Description
A vulnerability in the Linux kernel's BPF subsystem related to objects stuck in free_by_rcu_ttrace has been resolved. The issue arises because do_call_rcu_ttrace() returns early under certain conditions, leaving objects unreleased indefinitely. This can cause unbounded accumulation of such objects. The fix involves changing the state management of call_rcu_ttrace_in_progress to better track and free these objects, ensuring proper cleanup and preventing resource leakage.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel involves the BPF subsystem's memory management where do_call_rcu_ttrace() returns early when call_rcu_ttrace_in_progress is set, causing objects to remain stuck in free_by_rcu_ttrace. The __free_rcu() function only frees waiting_for_gp_ttrace and clears the flag, but objects added during an ongoing RCU tasks trace remain until free_bulk() or alloc_bulk() is called again, which may never occur, leading to unbounded object accumulation. The fix changes call_rcu_ttrace_in_progress from a binary flag to a three-state variable (0 idle, 1 __free_rcu() queued, 2 __free_rcu() queued with more objects added) to ensure proper queuing and freeing of objects. Additional synchronization changes prevent race conditions and ensure that memory caches are freed correctly without indefinite delays or resource buildup.
Potential Impact
The vulnerability can cause unbounded accumulation of unreleased objects in the kernel's BPF memory cache, potentially leading to resource exhaustion or degraded system performance. There is no indication of direct code execution or privilege escalation from the provided data. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by modifying the state management and synchronization of RCU tasks tracing and freeing mechanisms. Users should apply the official kernel updates that include this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-49x9-888x-jjxr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98789"]
Threat ID: 6ad520aa2cdf04f6569939ab
Added to database: 10/18/2026, 19:40:26 UTC
Last enriched: 10/18/2026, 22:21:38 UTC
Last updated: 10/18/2026, 22:21:38 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.