In the Linux kernel, the following vulnerability has been resolved: bpf: Allow LPM map access from sleepable BPF programs trie_lookup_elem()… (CVE-2026-64352)
A vulnerability in the Linux kernel's BPF subsystem related to LPM map access from sleepable BPF programs has been resolved. The issue involves improper RCU locking annotations in trie lookup and update functions, causing lockdep warnings on debug kernels when sleepable BPF programs access LPM tries. This does not cause use-after-free but results in debug console spam. The fix adjusts RCU annotations to correctly reflect locking contexts for sleepable BPF programs.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-64352 concerns the BPF subsystem's handling of LPM trie map access from sleepable BPF programs. The trie_lookup_elem() function used rcu_dereference_check() with an annotation that did not recognize the RCU locking context of sleepable BPF programs, causing lockdep warnings on debug kernels. Similarly, trie_update_elem() and trie_delete_elem() used rcu_dereference() with assumptions about RCU locks that did not hold for sleepable BPF programs. While no use-after-free occurs due to serialization by Tasks Trace RCU, the incorrect annotations cause lockdep warnings and console spam in debug builds. The fix changes the RCU annotations to bpf_rcu_lock_held() for lookups and rcu_dereference_protected() for updates/deletes, aligning with actual locking and eliminating the warnings.
Potential Impact
This vulnerability does not cause memory corruption or use-after-free conditions but triggers lockdep warnings and debug console spam on kernels compiled with debugging enabled when sleepable BPF programs access LPM tries. There are no known exploits in the wild. The issue affects kernel debugging and may hinder developers or administrators monitoring debug kernel logs.
Mitigation Recommendations
A fix for this issue has been implemented in the Linux kernel by correcting RCU locking annotations in the BPF LPM trie code. Users running debug kernels should update to a kernel version that includes this fix to eliminate lockdep warnings and console spam. For non-debug kernels, this issue does not cause functional problems. Patch status is not explicitly stated; check the vendor advisory or Linux kernel mailing lists for the specific fixed kernel versions.
In the Linux kernel, the following vulnerability has been resolved: bpf: Allow LPM map access from sleepable BPF programs trie_lookup_elem()… (CVE-2026-64352)
Description
A vulnerability in the Linux kernel's BPF subsystem related to LPM map access from sleepable BPF programs has been resolved. The issue involves improper RCU locking annotations in trie lookup and update functions, causing lockdep warnings on debug kernels when sleepable BPF programs access LPM tries. This does not cause use-after-free but results in debug console spam. The fix adjusts RCU annotations to correctly reflect locking contexts for sleepable BPF programs.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-64352 concerns the BPF subsystem's handling of LPM trie map access from sleepable BPF programs. The trie_lookup_elem() function used rcu_dereference_check() with an annotation that did not recognize the RCU locking context of sleepable BPF programs, causing lockdep warnings on debug kernels. Similarly, trie_update_elem() and trie_delete_elem() used rcu_dereference() with assumptions about RCU locks that did not hold for sleepable BPF programs. While no use-after-free occurs due to serialization by Tasks Trace RCU, the incorrect annotations cause lockdep warnings and console spam in debug builds. The fix changes the RCU annotations to bpf_rcu_lock_held() for lookups and rcu_dereference_protected() for updates/deletes, aligning with actual locking and eliminating the warnings.
Potential Impact
This vulnerability does not cause memory corruption or use-after-free conditions but triggers lockdep warnings and debug console spam on kernels compiled with debugging enabled when sleepable BPF programs access LPM tries. There are no known exploits in the wild. The issue affects kernel debugging and may hinder developers or administrators monitoring debug kernel logs.
Mitigation Recommendations
A fix for this issue has been implemented in the Linux kernel by correcting RCU locking annotations in the BPF LPM trie code. Users running debug kernels should update to a kernel version that includes this fix to eliminate lockdep warnings and console spam. For non-debug kernels, this issue does not cause functional problems. Patch status is not explicitly stated; check the vendor advisory or Linux kernel mailing lists for the specific fixed kernel versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-p2wc-grc5-cwhm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64352"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420c9c2644c7f808502e
Added to database: 07/25/2026, 23:09:00 UTC
Last enriched: 07/25/2026, 23:31:44 UTC
Last updated: 07/26/2026, 02:11:58 UTC
Views: 4
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.