Skip to main content

Linux Kernel CVE-2026-53035

| EUVDEUVD-2026-38903 MEDIUM
Improper Locking (CWE-667)
2026-06-24 Linux GHSA-9ppp-c797-fg56
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Acquire CAP_BPF or CAP_SYS_ADMIN
  2. Delivery
    Load BPF iterator program targeting AF_UNIX socket sequence
  3. Exploit
    Trigger iterator execution against a non-sleeping AF_UNIX socket
  4. Install
    lock_sock_fast() takes spinlock fast path holding slock-AF_UNIX
  5. C2
    BPF program calls bpf_map_update_elem() on sockmap
  6. Execute
    sock_map_update_elem() spins on already-held slock-AF_UNIX
  7. Impact
    Kernel thread deadlocks, system availability lost

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Exploitation requires simultaneous satisfaction of all of the following: the attacker must hold CAP_BPF (Linux 5.8 and later) or CAP_SYS_ADMIN (earlier kernels or when CAP_BPF is unavailable); the host must not have kernel.unprivileged_bpf_disabled set to a value that blocks BPF program loading by the attacker's privilege level; the attacker must construct a BPF program using the bpf_iter framework specifically targeting the AF_UNIX socket sequence (unix_diag); and that BPF program must invoke a sockmap update (bpf_map_update_elem() on a BPF_MAP_TYPE_SOCKMAP or BPF_MAP_TYPE_SOCKHASH) during iterator execution. The deadlock only triggers when lock_sock_fast() takes the spinlock fast path (i.e., the iterated AF_UNIX socket is in a non-sleeping state). This combination - BPF iterators, AF_UNIX sockets, and sockmap updates in the same program - is not a default Linux configuration and is uncommon outside of specialized eBPF-based networking or observability stacks. Systems that do not use BPF iterator programs against AF_UNIX sockets are not exposed.

Impact

The vendor-assigned CVSS 3.1 score of 5.5 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H is well-calibrated: local access with low privilege, no complexity once the capability is held, and a denial-of-service outcome with no confidentiality or integrity impact. EPSS at 0.17% (7th percentile) confirms this is not on the radar of automated exploitation infrastructure. The CVE is not in CISA KEV and no POC exploit has been identified. The 'Information Disclosure' tag present in the source data directly conflicts with the C:N metric in the CVSS vector and the technical description - this tag is assessed as a mislabeling and should not factor into risk decisions. The practical exploitation barrier is high: an attacker must hold CAP_BPF (Linux 5.8+) or CAP_SYS_ADMIN, must operate in an environment where kernel.unprivileged_bpf_disabled is not set to 2, and must craft a BPF iterator program specifically combining AF_UNIX iteration with sockmap update operations - a non-default, non-trivial configuration. This is a genuine kernel stability issue for BPF-heavy workloads (eBPF observability platforms, Cilium, bpftrace deployments) rather than a broad exploitation target.

Exploit ScenarioDerived

A local attacker holding CAP_BPF loads a crafted BPF iterator program that targets the AF_UNIX socket sequence interface and includes a bpf_map_update_elem() call against a pre-created sockmap. When the kernel reads the iterator output (e.g., via /sys/fs/bpf or a pinned iterator fd), lock_sock_fast() takes the spinlock fast path for a non-sleeping AF_UNIX socket, and the BPF program executes within that locked context. The sock_map_update_elem() invocation then spins indefinitely on the already-held slock-AF_UNIX, freezing the kernel thread and precipitating a system hang or watchdog-triggered panic. No public proof-of-concept exploit has been identified, though the detailed lock trace in the CVE description provides sufficient technical grounding for a skilled kernel developer to reproduce the condition.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jul 15, 2026

The Linux kernel's BPF sockmap subsystem deadlocks when a BPF iterator program iterating over AF_UNIX sockets via bpf_iter_unix_seq_show() simultaneously attempts to update a sockmap entry during the same execution context. When lock_sock_fast() takes the spinlock fast path and holds slock-AF_UNIX, any subsequent sock_map_update_elem() call within the BPF iterator program spins indefinitely attempting to re-acquire the same spinlock on the same CPU, causing an unrecoverable kernel deadlock and loss of system availability. This is not confirmed actively exploited (not in CISA KEV), no public exploit has been identified, and EPSS at 0.17% (7th percentile) confirms negligible current exploitation interest; the real-world risk is constrained to specialized BPF workloads with specific capability requirements.

RemediationAI

The definitive fix is to upgrade to a patched kernel release: 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, or 7.1 depending on the active stable branch. Patch commits are available at https://git.kernel.org/stable/ and can be cherry-picked onto custom kernels. Where an immediate kernel upgrade is not operationally feasible, the following compensating controls can reduce exposure: first, set kernel.unprivileged_bpf_disabled=2 (or =1 for less restrictive blocking) via sysctl to prevent non-privileged users from loading BPF programs - note this will break unprivileged eBPF tools and monitoring agents that run without CAP_SYS_ADMIN. Second, deploy a BPF LSM or seccomp policy that prohibits bpf_map_update_elem() calls within iterator-context BPF programs - this requires custom policy authoring and will break any legitimate sockmap-update logic in existing BPF programs. Neither workaround eliminates the root cause; patching remains the required resolution.

Affected VersionsENISA

Linux patch: 7.1
Linux 2c860a43dd77f969bb959336a2f743d7103a8f63 <bd3592129f24243713673a07225cf1f15a9bb835
Linux 2c860a43dd77f969bb959336a2f743d7103a8f63 <4d328dd695383224aa750ddee6b4ad40c0f8d205
Linux patch: 0
Linux patch: 6.12.91
Linux 2c860a43dd77f969bb959336a2f743d7103a8f63 <87828b380956d4986f59f2c086e0b09b3e6cdaae
Linux patch: 6.1.175
Linux patch: 6.18.33
Linux 5.15
Linux patch: 6.6.141
Linux 2c860a43dd77f969bb959336a2f743d7103a8f63 <527057ebe8076dfbcaef51195ff1b7508646be2c
Linux 2c860a43dd77f969bb959336a2f743d7103a8f63 <66d9fab4565eafe1afe7ba0581f79b76073b60fa
Linux patch: 7.0.10
Linux 2c860a43dd77f969bb959336a2f743d7103a8f63 <3cef33b9813b78f227942572fb317afcd5c9ac94

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 vulnerability resides at the intersection of two Linux kernel subsystems: the BPF iterator framework (bpf_iter) and the sockmap implementation for AF_UNIX sockets. CWE-667 (Improper Locking) precisely identifies the root cause - a recursive spinlock acquisition. bpf_iter_unix_seq_show() acquires slock-AF_UNIX via lock_sock_fast() when it takes the fast (spinlock) path rather than sleeping. The attached BPF iterator program then executes within this locked context. If the BPF program calls bpf_map_update_elem() on a sockmap, this invokes sock_map_update_elem(), which calls bh_lock_sock() and attempts to re-acquire the same slock-AF_UNIX spinlock already held by the calling thread - a classic recursive spinlock deadlock. The kernel's lock validator (lockdep) detects and reports this as a WARNING: possible recursive locking detected. Affected CPE is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*, covering the kernel from the introducing commit (2c860a43dd77) through the patched stable releases across branches 6.1, 6.6, 6.12, 6.18, 7.0, and 7.1.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local access with CAP_BPF required (PR:L); no confidentiality or integrity impact; recursive spinlock deadlock yields high availability loss.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jul 15, 2026 - 14:52 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:29 nvd
MEDIUM 5.5
CVE Published
Jun 24, 2026 - 16:29 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

bpf, sockmap: Fix af_unix iter deadlock

bpf_iter_unix_seq_show() may deadlock when lock_sock_fast() takes the fast path and the iter prog attempts to update a sockmap. Which ends up spinning at sock_map_update_elem()'s bh_lock_sock():

WARNING: possible recursive locking detected test_progs/1393 is trying to acquire lock: ffff88811ec25f58 (slock-AF_UNIX){+...}-{3:3}, at: sock_map_update_elem+0xdb/0x1f0

but task is already holding lock: ffff88811ec25f58 (slock-AF_UNIX){+...}-{3:3}, at: __lock_sock_fast+0x37/0xe0

other info that might help us debug this: Possible unsafe locking scenario:

CPU0 ---- lock(slock-AF_UNIX); lock(slock-AF_UNIX);

* DEADLOCK *

May be due to missing lock nesting notation

4 locks held by test_progs/1393: #0: ffff88814b59c790 (&p->lock){+.+.}-{4:4}, at: bpf_seq_read+0x59/0x10d0 #1: ffff88811ec25fd8 (sk_lock-AF_UNIX){+.+.}-{0:0}, at: bpf_seq_read+0x42c/0x10d0 #2: ffff88811ec25f58 (slock-AF_UNIX){+...}-{3:3}, at: __lock_sock_fast+0x37/0xe0 #3: ffffffff85a6a7c0 (rcu_read_lock){....}-{1:3}, at: bpf_iter_run_prog+0x51d/0xb00

Call Trace: dump_stack_lvl+0x5d/0x80 print_deadlock_bug.cold+0xc0/0xce __lock_acquire+0x130f/0x2590 lock_acquire+0x14e/0x2b0 _raw_spin_lock+0x30/0x40 sock_map_update_elem+0xdb/0x1f0 bpf_prog_2d0075e5d9b721cd_dump_unix+0x55/0x4f4 bpf_iter_run_prog+0x5b9/0xb00 bpf_iter_unix_seq_show+0x1f7/0x2e0 bpf_seq_read+0x42c/0x10d0 vfs_read+0x171/0xb20 ksys_read+0xff/0x200 do_syscall_64+0x6b/0x3a0 entry_SYSCALL_64_after_hwframe+0x76/0x7e

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel underpins virtually all cloud, server, and embedded 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.177 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.155 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.206 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.152 Affected
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-HPC-Azure Affected
Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
Image SLES15-SP7-SAP-Azure Image SLES15-SP7-SAP-Azure-3P Image SLES15-SP7-SAP-BYOS-Azure Image SLES15-SP7-SAP-BYOS-EC2 Image SLES15-SP7-SAP-BYOS-GCE Image SLES15-SP7-SAP-EC2 Image SLES15-SP7-SAP-GCE Image SLES15-SP7-SAP-Hardened-Azure Image SLES15-SP7-SAP-Hardened-BYOS-Azure Image SLES15-SP7-SAP-Hardened-BYOS-EC2 Image SLES15-SP7-SAP-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Hardened-GCE Affected

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