# CVE-2026-53005: af\_unix: Drop all SCM attributes for SOCKMAP.

> 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-06-24T16:29:16.901Z
- **Modified:** 2026-10-19T20:18:55.310Z

## Who should check

- Anyone running Linux \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 866e69a824b46e682b8fb923be321b585e634874; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 301bdc558a5eb4057473204d35e2608e682aaafb; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 48c41cd2e04af4b2cdef19e2d00994ae82952f14; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< e0a71cbf0c1906a2eccbe69dd7d7f36fd1511d66; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< b34a1d83c74a124c968b5adb25c809db3e2eb86a; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 965dc93481d1b80d341bdd16c27b16fe197175ee
- Anyone running Linux 5.15

## Description

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

af\_unix: Drop all SCM attributes for SOCKMAP.

SOCKMAP can hide inflight fd from AF\_UNIX GC.

When a socket in SOCKMAP receives skb with inflight fd,
sk\_psock\_verdict\_data\_ready() looks up the mapped socket and
enqueue skb to its psock-\>ingress\_skb.

Since neither the old nor the new GC can inspect the psock
queue, the hidden skb leaks the inflight sockets.  Note that
this cannot be detected via kmemleak because inflight sockets
are linked to a global list.

In addition, SOCKMAP redirect breaks the Tarjan-based GC's
assumption that unix\_edge.successor is always alive, which
is no longer true once skb is redirected, resulting in
use-after-free below. \[0\]

Moreover, SOCKMAP does not call scm\_stat\_del() properly,
so unix\_show\_fdinfo() could report an incorrect fd count.

sk\_msg\_recvmsg() does not support any SCM attributes in the
first place.

Let's drop all SCM attributes before passing skb to the
SOCKMAP layer.

\[0\]:
BUG: KASAN: slab-use-after-free in unix\_del\_edges (net/unix/garbage.c:118 net/unix/garbage.c:181 net/unix/garbage.c:251)
Read of size 8 at addr ffff888125362670 by task kworker/56:1/496

CPU: 56 UID: 0 PID: 496 Comm: kworker/56:1 Not tainted 7.0.0-rc7-00263-gb9d8b856689d \#3 PREEMPT(lazy)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014
Workqueue: events sk\_psock\_backlog
Call Trace:
 \<TASK\>
 dump\_stack\_lvl (lib/dump\_stack.c:122)
 print\_report (mm/kasan/report.c:379)
 kasan\_report (mm/kasan/report.c:597)
 unix\_del\_edges (net/unix/garbage.c:118 net/unix/garbage.c:181 net/unix/garbage.c:251)
 unix\_destroy\_fpl (net/unix/garbage.c:317)
 unix\_destruct\_scm (./include/net/scm.h:80 ./include/net/scm.h:86 net/unix/af\_unix.c:1976)
 sk\_psock\_backlog (./include/linux/skbuff.h:?)
 process\_scheduled\_works (kernel/workqueue.c:?)
 worker\_thread (kernel/workqueue.c:?)
 kthread (kernel/kthread.c:438)
 ret\_from\_fork (arch/x86/kernel/process.c:164)
 ret\_from\_fork\_asm (arch/x86/entry/entry\_64.S:258)
 \</TASK\>

Allocated by task 955:
 kasan\_save\_track (mm/kasan/common.c:58 mm/kasan/common.c:78)
 \_\_kasan\_slab\_alloc (mm/kasan/common.c:369)
 kmem\_cache\_alloc\_noprof (mm/slub.c:4539)
 sk\_prot\_alloc (net/core/sock.c:2240)
 sk\_alloc (net/core/sock.c:2301)
 unix\_create1 (net/unix/af\_unix.c:1099)
 unix\_create (net/unix/af\_unix.c:1169)
 \_\_sock\_create (net/socket.c:1606)
 \_\_sys\_socketpair (net/socket.c:1811)
 \_\_x64\_sys\_socketpair (net/socket.c:1863 net/socket.c:1860 net/socket.c:1860)
 do\_syscall\_64 (arch/x86/entry/syscall\_64.c:?)
 entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:130)

Freed by task 496:
 kasan\_save\_track (mm/kasan/common.c:58 mm/kasan/common.c:78)
 kasan\_save\_free\_info (mm/kasan/generic.c:587)
 \_\_kasan\_slab\_free (mm/kasan/common.c:287)
 kmem\_cache\_free (mm/slub.c:6165)
 \_\_sk\_destruct (net/core/sock.c:2282 net/core/sock.c:2384)
 sk\_psock\_destroy (./include/net/sock.h:?)
 process\_scheduled\_works (kernel/workqueue.c:?)
 worker\_thread (kernel/workqueue.c:?)
 kthread (kernel/kthread.c:438)
 ret\_from\_fork (arch/x86/kernel/process.c:164)
 ret\_from\_fork\_asm (arch/x86/entry/entry\_64.S:258)

## Affected and fixed versions

- Linux: \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 866e69a824b46e682b8fb923be321b585e634874; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 301bdc558a5eb4057473204d35e2608e682aaafb; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 48c41cd2e04af4b2cdef19e2d00994ae82952f14; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< e0a71cbf0c1906a2eccbe69dd7d7f36fd1511d66; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< b34a1d83c74a124c968b5adb25c809db3e2eb86a; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 965dc93481d1b80d341bdd16c27b16fe197175ee (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-53005.md
Affected: Linux >= c63829182c37c2d6d0608976d15fa61ebebe9e6b, < 866e69a824b46e682b8fb923be321b585e634874; >= c63829182c37c2d6d0608976d15fa61ebebe9e6b, < 301bdc558a5eb4057473204d35e2608e682aaafb; >= c63829182c37c2d6d0608976d15fa61ebebe9e6b, < 48c41cd2e04af4b2cdef19e2d00994ae82952f14; >= c63829182c37c2d6d060897…
Fixed in: Linux 866e69a824b46e682b8fb923be321b585e634874, Linux 301bdc558a5eb4057473204d35e2608e682aaafb, Linux 48c41cd2e04af4b2cdef19e2d00994ae82952f14, Linux 965dc93481d1b80d341bdd16c27b16fe197175ee

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

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

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

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

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

Linux \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 866e69a824b46e682b8fb923be321b585e634874; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 301bdc558a5eb4057473204d35e2608e682aaafb; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 48c41cd2e04af4b2cdef19e2d00994ae82952f14; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< e0a71cbf0c1906a2eccbe69dd7d7f36fd1511d66; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< b34a1d83c74a124c968b5adb25c809db3e2eb86a; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 965dc93481d1b80d341bdd16c27b16fe197175ee; Linux 5.15.

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

Yes. Fixed in Linux 866e69a824b46e682b8fb923be321b585e634874, Linux 301bdc558a5eb4057473204d35e2608e682aaafb, Linux 48c41cd2e04af4b2cdef19e2d00994ae82952f14, Linux 965dc93481d1b80d341bdd16c27b16fe197175ee. Upgrade Linux to 965dc93481d1b80d341bdd16c27b16fe197175ee or later.

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

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/b34a1d83c74a124c968b5adb25c809db3e2eb86a>
- patch: <https://git.kernel.org/stable/c/965dc93481d1b80d341bdd16c27b16fe197175ee>
- other: <https://git.kernel.org/stable/c/866e69a824b46e682b8fb923be321b585e634874>
- other: <https://git.kernel.org/stable/c/301bdc558a5eb4057473204d35e2608e682aaafb>
- other: <https://git.kernel.org/stable/c/48c41cd2e04af4b2cdef19e2d00994ae82952f14>
- other: <https://git.kernel.org/stable/c/e0a71cbf0c1906a2eccbe69dd7d7f36fd1511d66>

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

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