Skip to main content

Linux Kernel CVE-2026-64352

| EUVDEUVD-2026-48896 HIGH
Use After Free (CWE-416)
2026-07-25 Linux GHSA-p2wc-grc5-cwhm
High
Disputed · 7.8 NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain CAP_BPF or CAP_SYS_ADMIN privilege
  2. Delivery
    Load sleepable BPF LSM program (BPF_F_SLEEPABLE)
  3. Exploit
    Attach to sleepable kernel security hook
  4. Execution
    Trigger hook via normal syscall (e.g., connect())
  5. Persist
    Access LPM trie map in sleepable RCU context
  6. Impact
    RCU annotation mismatch fires lockdep warning per callsite

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Triggering the lockdep warning requires all of the following: (1) a Linux kernel compiled with CONFIG_PROVE_LOCKING=y (debug/lockdep-enabled build - most production kernels do not have this set), (2) CAP_BPF or CAP_SYS_ADMIN privilege to load BPF programs, (3) a sleepable BPF program created with the BPF_F_SLEEPABLE flag attached to an LSM hook or other sleepable execution context, and (4) that program accessing a BPF_MAP_TYPE_LPM_TRIE map via lookup, update, or delete. Non-sleepable BPF programs (XDP, classic TC, kprobes without sleepable flag) are not affected because they hold the expected RCU variant. Production kernels without lockdep produce no observable effect from this bug. The theoretical UAF (CWE-416 concern) is additionally gated on a race against trie node reclaim that the kernel developers explicitly state does not occur under Tasks Trace RCU - that risk scenario is currently unconfirmed and has not been demonstrated.

Impact

The CVSS 7.8 vector (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) reflects a worst-case UAF impact assessment, but the kernel developer's own description is unambiguous: 'This is lockdep-only - no UAF.' Tasks Trace RCU already serializes against the trie's reclaim path, so no memory confusion occurs in practice. This is a CVSS-vs-reality discrepancy that should be noted explicitly: the vector overstates impact given the absence of a demonstrated or theoretical exploitable race. EPSS at 0.21% (12th percentile) is consistent with a non-exploited kernel hygiene fix with no public exploit and no KEV listing. The practical real-world impact is restricted to console lockdep spam on debug kernels - a concern primarily for kernel developers and security-hardened production deployments where CONFIG_PROVE_LOCKING is enabled; even a mid-sized municipal IT team in bytom running BPF-based LSM enforcement on debug kernels would experience this as noisy log output rather than a security breach. The primary motivation for patching is correctness and future-proofing: eliminating misleading lockdep alarms that could mask genuine concurrency bugs introduced by later changes. There is no CISA KEV listing, no publicly available exploit code, and the EPSS signal confirms no active exploitation at time of analysis.

Exploit ScenarioDerived

A local user or process holding CAP_BPF (or CAP_SYS_ADMIN) loads a sleepable BPF LSM program attached to a security hook such as security_socket_connect, with the program performing a lookup, update, or delete on a BPF_MAP_TYPE_LPM_TRIE map. On any kernel built with CONFIG_PROVE_LOCKING=y, each distinct callsite triggers a 'suspicious RCU usage' warning that spams the console, degrading log integrity and potentially masking other real concurrency alerts. No memory safety violation has been demonstrated, and exploiting the theoretical UAF would additionally require a timing race against trie reclaim that Tasks Trace RCU currently prevents.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

Incorrect RCU lock annotations in the Linux kernel's BPF LPM trie map implementation (kernel/bpf/lpm_trie.c) cause lockdep false positives on debug kernels when sleepable BPF programs access BPF_MAP_TYPE_LPM_TRIE maps via lookup, update, or delete operations. The mismatch arises because sleepable BPF programs hold rcu_read_lock_trace() while the trie code asserts rcu_read_lock_bh_held() or rcu_read_lock_held(), producing repeated 'suspicious RCU usage' kernel warnings per distinct callsite. The Linux kernel developers explicitly state no actual use-after-free occurs, since Tasks Trace RCU already serializes against trie node reclaim; however, the incorrect annotation undermines lockdep's ability to detect future regressions and is increasingly impactful as sleepable BPF LSM programs become common in production security tooling. No public exploit exists and no CISA KEV listing has been issued.

RemediationAI

Upgrade to a patched Linux kernel release appropriate to the deployed series: 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.4, or 7.2-rc1 (or any later release in those series). Upstream patch commits are available at https://git.kernel.org/stable/c/304ca50582f0c047370f85e13caec456f78c9fcc (6.12.x), https://git.kernel.org/stable/c/f0967d4f1ba4323a3cb7dc8fdba74dd3a8caaf04 (6.6.x), and additional branch-specific commits listed in the CVE references. Distribution users should apply kernel updates from their vendor's security channel rather than building from source. As an interim compensating control, operators can avoid loading sleepable BPF programs (BPF_F_SLEEPABLE) that access LPM trie maps - this prevents the lockdep path from triggering - though this trades off BPF LSM capability. Alternatively, disabling lockdep (CONFIG_PROVE_LOCKING=n) on non-debug production kernels eliminates the console spam without restricting BPF functionality, though this removes a valuable concurrency-bug detector. No patch-free mitigation fully addresses the underlying annotation incorrectness.

Affected VersionsENISA

Linux 694cea395fded425008e93cd90cfdf7a451674af <304ca50582f0c047370f85e13caec456f78c9fcc
Linux patch: 5.15.212
Linux patch: 6.12.97
Linux patch: 7.2-rc1
Linux 694cea395fded425008e93cd90cfdf7a451674af <2f884d371fafea137afea504d49ee4a7c8d7985b
Linux 694cea395fded425008e93cd90cfdf7a451674af <f0967d4f1ba4323a3cb7dc8fdba74dd3a8caaf04
Linux 5.14
Linux patch: 7.1.4
Linux 694cea395fded425008e93cd90cfdf7a451674af <57454944737f3ad9a8703aecbbb79713b513a94b
Linux 694cea395fded425008e93cd90cfdf7a451674af <9bfdf4b81b0e56d47bc6c46c34a46638be716695
Linux patch: 6.18.40
Linux 694cea395fded425008e93cd90cfdf7a451674af <bd6ad9a6b30498d845413e863fb95c6fab3babe3
Linux patch: 6.6.145
Linux 694cea395fded425008e93cd90cfdf7a451674af <ec662a8b2cde01e76b37ccd4b992d0342299e69c
Linux patch: 0
Linux patch: 6.1.178

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel BPF subsystem provides LPM (Longest Prefix Match) trie maps (BPF_MAP_TYPE_LPM_TRIE) used heavily for efficient IP prefix lookups in network filtering and security enforcement programs. Three distinct RCU read-side contexts exist: classic rcu_read_lock(), BH-disabled rcu_read_lock_bh(), and the sleepable-context rcu_read_lock_trace() used by Tasks Trace RCU. The rcu_dereference_check(p, c) macro resolves to 'c || rcu_read_lock_held()', so it accepts classic and BH readers but silently rejects Tasks Trace holders - which is exactly the context sleepable BPF programs enter via __bpf_prog_enter_sleepable(). CWE-416 (Use-After-Free) reflects the theoretical risk that an incorrectly annotated RCU pointer dereference could eventually permit a race against node reclaim if the synchronization model changes; the annotation itself is the machine-verifiable contract protecting against that class of bug. The fix applies bpf_rcu_lock_held() to the lookup path (already the convention used by other BPF map types) and rcu_dereference_protected(*p, 1) to writer paths that hold trie->lock (an rqspinlock without a lockdep map), consistent with the existing trie_free() pattern in the same file. Affected CPE per EUVD: cpe:2.3:a:linux:linux:* from commit 694cea395fded onward through each stable branch's respective fix commit.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 2.5 LOW

Requires CAP_BPF and a debug kernel (AC:H); confirmed impact is lockdep console spam (A:L) only, no UAF demonstrated.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 03, 2026 - 16:07 NVD
7.8 (HIGH)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:50 nvd
HIGH 7.8

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

bpf: Allow LPM map access from sleepable BPF programs

trie_lookup_elem() annotates its rcu_dereference_check() walks with only rcu_read_lock_bh_held(). Because rcu_dereference_check(p, c) resolves to "c || rcu_read_lock_held()", this passes for XDP/NAPI and classic RCU readers but fails for sleepable BPF programs, which enter via __bpf_prog_enter_sleepable() and hold only rcu_read_lock_trace().

trie_update_elem() and trie_delete_elem() have the same problem in a different form: they walk the trie with plain rcu_dereference(), which asserts rcu_read_lock_held() unconditionally. Both are reachable from sleepable BPF programs via the bpf_map_update_elem / bpf_map_delete_elem helpers, and from the syscall path under classic rcu_read_lock(). In the writer paths the trie is actually protected by trie->lock (an rqspinlock taken across the walk); we never relied on the RCU read-side lock to keep nodes alive there.

A sleepable LSM hook that ends up touching an LPM trie therefore triggers lockdep on debug kernels:

========= WARNING: suspicious RCU usage 7.1.0-... Tainted: G E ----------------------------- kernel/bpf/lpm_trie.c:249 suspicious rcu_dereference_check() usage! 1 lock held by net_tests/540: #0: (rcu_tasks_trace_srcu_struct){....}-{0:0}, at: __bpf_prog_enter_sleepable+0x26/0x280 Call Trace: dump_stack_lvl lockdep_rcu_suspicious trie_lookup_elem bpf_prog_..._enforce_security_socket_connect bpf_trampoline_... security_socket_connect __sys_connect do_syscall_64

This is lockdep-only -- no UAF, since Tasks Trace RCU does serialize against the trie's reclaim path -- but it spams the console once per distinct callsite on every debug kernel running a sleepable BPF LSM that touches an LPM trie, which is increasingly common.

For the lookup path, switch the rcu_dereference_check() annotation from rcu_read_lock_bh_held() to bpf_rcu_lock_held(), which accepts all three contexts (classic, BH, Tasks Trace). Other map types already follow this convention.

For trie_update_elem() and trie_delete_elem(), annotate the walks as rcu_dereference_protected(*p, 1) -- matching trie_free() in the same file -- since trie->lock is held across the walk. rqspinlock has no lockdep_map, so the predicate degenerates to '1' rather than lockdep_is_held(&trie->lock); the protection is real but not machine-verifiable. trie_get_next_key() also uses bare rcu_dereference() but is reachable only from the BPF syscall, which holds classic rcu_read_lock() before dispatching, so it is left untouched.

Executive ViewAI

Why It Matters

The Linux kernel's BPF LPM trie map implementation contains incorrect RCU lock annotations that generate false lockdep warnings on debug kernels when sleepable BPF security programs access trie maps. While no actual memory safety vulnerability exists, this annotation mismatch undermines the kernel's ability to detect future regressions in security-critical BPF LSM programs increasingly deployed in production, reducing debugging visibility for security infrastructure.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Ubiquitous
Linux kernel underlies virtually all server, cloud, and container infrastructure globally.
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy