# CVE-2026-53035: bpf, sockmap: Fix af\_unix iter deadlock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2026-06-24T16:29:42.560Z
- **Modified:** 2026-11-06T17:18:02.533Z

## Who should check

- Anyone running Linux \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< bd3592129f24243713673a07225cf1f15a9bb835; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 3cef33b9813b78f227942572fb317afcd5c9ac94; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 87828b380956d4986f59f2c086e0b09b3e6cdaae; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 527057ebe8076dfbcaef51195ff1b7508646be2c; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 66d9fab4565eafe1afe7ba0581f79b76073b60fa; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 4d328dd695383224aa750ddee6b4ad40c0f8d205
- Anyone running Linux 5.15

## Description

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

## Affected and fixed versions

- Linux: \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< bd3592129f24243713673a07225cf1f15a9bb835; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 3cef33b9813b78f227942572fb317afcd5c9ac94; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 87828b380956d4986f59f2c086e0b09b3e6cdaae; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 527057ebe8076dfbcaef51195ff1b7508646be2c; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 66d9fab4565eafe1afe7ba0581f79b76073b60fa; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 4d328dd695383224aa750ddee6b4ad40c0f8d205 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 4d328dd695383224aa750ddee6b4ad40c0f8d205 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53035. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53035.md
Affected: Linux >= 2c860a43dd77f969bb959336a2f743d7103a8f63, < bd3592129f24243713673a07225cf1f15a9bb835; >= 2c860a43dd77f969bb959336a2f743d7103a8f63, < 3cef33b9813b78f227942572fb317afcd5c9ac94; >= 2c860a43dd77f969bb959336a2f743d7103a8f63, < 87828b380956d4986f59f2c086e0b09b3e6cdaae; >= 2c860a43dd77f969bb95933…
Fixed in: Linux 3cef33b9813b78f227942572fb317afcd5c9ac94, Linux 87828b380956d4986f59f2c086e0b09b3e6cdaae, Linux 527057ebe8076dfbcaef51195ff1b7508646be2c, Linux 66d9fab4565eafe1afe7ba0581f79b76073b60fa, Linux 4d328dd695383224aa750ddee6b4ad40c0f8d205

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53035 being exploited?

There is no confirmed exploitation: CVE-2026-53035 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-53035?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53035?

Linux \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< bd3592129f24243713673a07225cf1f15a9bb835; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 3cef33b9813b78f227942572fb317afcd5c9ac94; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 87828b380956d4986f59f2c086e0b09b3e6cdaae; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 527057ebe8076dfbcaef51195ff1b7508646be2c; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 66d9fab4565eafe1afe7ba0581f79b76073b60fa; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 4d328dd695383224aa750ddee6b4ad40c0f8d205; Linux 5.15.

### Is there a fix for CVE-2026-53035?

Yes. Fixed in Linux 3cef33b9813b78f227942572fb317afcd5c9ac94, Linux 87828b380956d4986f59f2c086e0b09b3e6cdaae, Linux 527057ebe8076dfbcaef51195ff1b7508646be2c, Linux 66d9fab4565eafe1afe7ba0581f79b76073b60fa, Linux 4d328dd695383224aa750ddee6b4ad40c0f8d205. Upgrade Linux to 4d328dd695383224aa750ddee6b4ad40c0f8d205 or later.

### How do I check if I'm affected by CVE-2026-53035?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/bd3592129f24243713673a07225cf1f15a9bb835>
- patch: <https://git.kernel.org/stable/c/3cef33b9813b78f227942572fb317afcd5c9ac94>
- patch: <https://git.kernel.org/stable/c/87828b380956d4986f59f2c086e0b09b3e6cdaae>
- patch: <https://git.kernel.org/stable/c/527057ebe8076dfbcaef51195ff1b7508646be2c>
- patch: <https://git.kernel.org/stable/c/66d9fab4565eafe1afe7ba0581f79b76073b60fa>
- patch: <https://git.kernel.org/stable/c/4d328dd695383224aa750ddee6b4ad40c0f8d205>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53035>

HTML: <https://flawdb.com/CVE-2026-53035> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53035>
