# CVE-2026-53033: bpf, sockmap: Take state lock for af\_unix iter

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-416, CWE-825
- **Published:** 2026-06-24T16:29:40.794Z
- **Modified:** 2026-10-19T20:18:56.860Z

## Who should check

- Anyone running Linux \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< c6f4015eac2e3cbc3cb7a17539e10bbb5c2049c3; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< d0d124dbcef9318e326956137b31671407094bd4; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 1a59cc6b65fd3ad9915aae5970d859109d4ce9fb; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 921920c34cb591947dd30c692500795a69f1e3fa; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 98f744d204e5d6fca589cd2c44c3190a0c71697f; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 64c2f93fc3254d3bf5de4445fb732ee5c451edb6
- Anyone running Linux 5.15

## Description

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

bpf, sockmap: Take state lock for af\_unix iter

When a BPF iterator program updates a sockmap, there is a race condition in
unix\_stream\_bpf\_update\_proto() where the \`peer\` pointer can become stale\[1\]
during a state transition TCP\_ESTABLISHED -\> TCP\_CLOSE.

        CPU0 bpf                          CPU1 close
        --------                          ----------
// unix\_stream\_bpf\_update\_proto()
sk\_pair = unix\_peer(sk)
if (unlikely(!sk\_pair))
   return -EINVAL;
                                     // unix\_release\_sock()
                                     skpair = unix\_peer(sk);
                                     unix\_peer(sk) = NULL;
                                     sock\_put(skpair)
sock\_hold(sk\_pair) // UaF

More practically, this fix guarantees that the iterator program is
consistently provided with a unix socket that remains stable during
iterator execution.

\[1\]:
BUG: KASAN: slab-use-after-free in unix\_stream\_bpf\_update\_proto+0x155/0x490
Write of size 4 at addr ffff8881178c9a00 by task test\_progs/2231
Call Trace:
 dump\_stack\_lvl+0x5d/0x80
 print\_report+0x170/0x4f3
 kasan\_report+0xe4/0x1c0
 kasan\_check\_range+0x125/0x200
 unix\_stream\_bpf\_update\_proto+0x155/0x490
 sock\_map\_link+0x71c/0xec0
 sock\_map\_update\_common+0xbc/0x600
 sock\_map\_update\_elem+0x19a/0x1f0
 bpf\_prog\_bbbf56096cdd4f01\_selective\_dump\_unix+0x20c/0x217
 bpf\_iter\_run\_prog+0x21e/0xae0
 bpf\_iter\_unix\_seq\_show+0x1e0/0x2a0
 bpf\_seq\_read+0x42c/0x10d0
 vfs\_read+0x171/0xb20
 ksys\_read+0xff/0x200
 do\_syscall\_64+0xf7/0x5e0
 entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e

Allocated by task 2236:
 kasan\_save\_stack+0x30/0x50
 kasan\_save\_track+0x14/0x30
 \_\_kasan\_slab\_alloc+0x63/0x80
 kmem\_cache\_alloc\_noprof+0x1d5/0x680
 sk\_prot\_alloc+0x59/0x210
 sk\_alloc+0x34/0x470
 unix\_create1+0x86/0x8a0
 unix\_stream\_connect+0x318/0x15b0
 \_\_sys\_connect+0xfd/0x130
 \_\_x64\_sys\_connect+0x72/0xd0
 do\_syscall\_64+0xf7/0x5e0
 entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e

Freed by task 2236:
 kasan\_save\_stack+0x30/0x50
 kasan\_save\_track+0x14/0x30
 kasan\_save\_free\_info+0x3b/0x70
 \_\_kasan\_slab\_free+0x47/0x70
 kmem\_cache\_free+0x11c/0x590
 \_\_sk\_destruct+0x432/0x6e0
 unix\_release\_sock+0x9b3/0xf60
 unix\_release+0x8a/0xf0
 \_\_sock\_release+0xb0/0x270
 sock\_close+0x18/0x20
 \_\_fput+0x36e/0xac0
 fput\_close\_sync+0xe5/0x1a0
 \_\_x64\_sys\_close+0x7d/0xd0
 do\_syscall\_64+0xf7/0x5e0
 entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e

## Affected and fixed versions

- Linux: \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< c6f4015eac2e3cbc3cb7a17539e10bbb5c2049c3; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< d0d124dbcef9318e326956137b31671407094bd4; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 1a59cc6b65fd3ad9915aae5970d859109d4ce9fb; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 921920c34cb591947dd30c692500795a69f1e3fa; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 98f744d204e5d6fca589cd2c44c3190a0c71697f; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 64c2f93fc3254d3bf5de4445fb732ee5c451edb6 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 64c2f93fc3254d3bf5de4445fb732ee5c451edb6 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-53033. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53033.md
Affected: Linux >= 2c860a43dd77f969bb959336a2f743d7103a8f63, < c6f4015eac2e3cbc3cb7a17539e10bbb5c2049c3; >= 2c860a43dd77f969bb959336a2f743d7103a8f63, < d0d124dbcef9318e326956137b31671407094bd4; >= 2c860a43dd77f969bb959336a2f743d7103a8f63, < 1a59cc6b65fd3ad9915aae5970d859109d4ce9fb; >= 2c860a43dd77f969bb95933…
Fixed in: Linux 1a59cc6b65fd3ad9915aae5970d859109d4ce9fb, Linux 921920c34cb591947dd30c692500795a69f1e3fa, Linux 98f744d204e5d6fca589cd2c44c3190a0c71697f, Linux 64c2f93fc3254d3bf5de4445fb732ee5c451edb6

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-53033 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< c6f4015eac2e3cbc3cb7a17539e10bbb5c2049c3; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< d0d124dbcef9318e326956137b31671407094bd4; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 1a59cc6b65fd3ad9915aae5970d859109d4ce9fb; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 921920c34cb591947dd30c692500795a69f1e3fa; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 98f744d204e5d6fca589cd2c44c3190a0c71697f; \>= 2c860a43dd77f969bb959336a2f743d7103a8f63, \< 64c2f93fc3254d3bf5de4445fb732ee5c451edb6; Linux 5.15.

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

Yes. Fixed in Linux 1a59cc6b65fd3ad9915aae5970d859109d4ce9fb, Linux 921920c34cb591947dd30c692500795a69f1e3fa, Linux 98f744d204e5d6fca589cd2c44c3190a0c71697f, Linux 64c2f93fc3254d3bf5de4445fb732ee5c451edb6. Upgrade Linux to 64c2f93fc3254d3bf5de4445fb732ee5c451edb6 or later.

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

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/c6f4015eac2e3cbc3cb7a17539e10bbb5c2049c3>
- patch: <https://git.kernel.org/stable/c/d0d124dbcef9318e326956137b31671407094bd4>
- patch: <https://git.kernel.org/stable/c/1a59cc6b65fd3ad9915aae5970d859109d4ce9fb>
- patch: <https://git.kernel.org/stable/c/921920c34cb591947dd30c692500795a69f1e3fa>
- patch: <https://git.kernel.org/stable/c/98f744d204e5d6fca589cd2c44c3190a0c71697f>
- patch: <https://git.kernel.org/stable/c/64c2f93fc3254d3bf5de4445fb732ee5c451edb6>
- other: <https://access.redhat.com/security/cve/CVE-2026-53033>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2492281>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53033.json>

## 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-53033>

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