# CVE-2023-54226: af\_unix: Fix data races around sk-\>sk\_shutdown.

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-28)
- **Published:** 2025-12-30T12:11:19.522Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1c488f4e95b498c977fbeae784983eb4cf6085e8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 196528ad484443627779540697f4fb0ef0e01c52; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8307e372e7445ec7d3cd2ff107ce5078eaa02815; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a41559ae3681975f1ced815d8d4c983b6b938499; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e410895892f99700ce54347d42c8dbe962eea9f4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f237f79b63c9242450e6869adcd2c10445859f28; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e1d09c2c2f5793474556b60f83900e088d0d366d
- Anyone running Linux 2.6.12

## Description

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

af\_unix: Fix data races around sk-\>sk\_shutdown.

KCSAN found a data race around sk-\>sk\_shutdown where unix\_release\_sock()
and unix\_shutdown() update it under unix\_state\_lock(), OTOH unix\_poll()
and unix\_dgram\_poll() read it locklessly.

We need to annotate the writes and reads with WRITE\_ONCE() and READ\_ONCE().

BUG: KCSAN: data-race in unix\_poll / unix\_release\_sock

write to 0xffff88800d0f8aec of 1 bytes by task 264 on cpu 0:
 unix\_release\_sock+0x75c/0x910 net/unix/af\_unix.c:631
 unix\_release+0x59/0x80 net/unix/af\_unix.c:1042
 \_\_sock\_release+0x7d/0x170 net/socket.c:653
 sock\_close+0x19/0x30 net/socket.c:1397
 \_\_fput+0x179/0x5e0 fs/file\_table.c:321
 \_\_\_\_fput+0x15/0x20 fs/file\_table.c:349
 task\_work\_run+0x116/0x1a0 kernel/task\_work.c:179
 resume\_user\_mode\_work include/linux/resume\_user\_mode.h:49 \[inline\]
 exit\_to\_user\_mode\_loop kernel/entry/common.c:171 \[inline\]
 exit\_to\_user\_mode\_prepare+0x174/0x180 kernel/entry/common.c:204
 \_\_syscall\_exit\_to\_user\_mode\_work kernel/entry/common.c:286 \[inline\]
 syscall\_exit\_to\_user\_mode+0x1a/0x30 kernel/entry/common.c:297
 do\_syscall\_64+0x4b/0x90 arch/x86/entry/common.c:86
 entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc

read to 0xffff88800d0f8aec of 1 bytes by task 222 on cpu 1:
 unix\_poll+0xa3/0x2a0 net/unix/af\_unix.c:3170
 sock\_poll+0xcf/0x2b0 net/socket.c:1385
 vfs\_poll include/linux/poll.h:88 \[inline\]
 ep\_item\_poll.isra.0+0x78/0xc0 fs/eventpoll.c:855
 ep\_send\_events fs/eventpoll.c:1694 \[inline\]
 ep\_poll fs/eventpoll.c:1823 \[inline\]
 do\_epoll\_wait+0x6c4/0xea0 fs/eventpoll.c:2258
 \_\_do\_sys\_epoll\_wait fs/eventpoll.c:2270 \[inline\]
 \_\_se\_sys\_epoll\_wait fs/eventpoll.c:2265 \[inline\]
 \_\_x64\_sys\_epoll\_wait+0xcc/0x190 fs/eventpoll.c:2265
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3b/0x90 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc

value changed: 0x00 -\> 0x03

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 222 Comm: dbus-broker Not tainted 6.3.0-rc7-02330-gca6270c12e20 \#2
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1c488f4e95b498c977fbeae784983eb4cf6085e8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 196528ad484443627779540697f4fb0ef0e01c52; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8307e372e7445ec7d3cd2ff107ce5078eaa02815; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a41559ae3681975f1ced815d8d4c983b6b938499; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e410895892f99700ce54347d42c8dbe962eea9f4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f237f79b63c9242450e6869adcd2c10445859f28; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e1d09c2c2f5793474556b60f83900e088d0d366d (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54226.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1c488f4e95b498c977fbeae784983eb4cf6085e8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 196528ad484443627779540697f4fb0ef0e01c52; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8307e372e7445ec7d3cd2ff107ce5078eaa02815; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 1c488f4e95b498c977fbeae784983eb4cf6085e8, Linux 196528ad484443627779540697f4fb0ef0e01c52, Linux 8307e372e7445ec7d3cd2ff107ce5078eaa02815

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-2023-54226 being exploited?

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

### How serious is CVE-2023-54226?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54226?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1c488f4e95b498c977fbeae784983eb4cf6085e8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 196528ad484443627779540697f4fb0ef0e01c52; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8307e372e7445ec7d3cd2ff107ce5078eaa02815; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a41559ae3681975f1ced815d8d4c983b6b938499; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e410895892f99700ce54347d42c8dbe962eea9f4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f237f79b63c9242450e6869adcd2c10445859f28; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e1d09c2c2f5793474556b60f83900e088d0d366d; Linux 2.6.12.

### Is there a fix for CVE-2023-54226?

Yes. Fixed in Linux 1c488f4e95b498c977fbeae784983eb4cf6085e8, Linux 196528ad484443627779540697f4fb0ef0e01c52, Linux 8307e372e7445ec7d3cd2ff107ce5078eaa02815. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54226?

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

- other: <https://git.kernel.org/stable/c/1c488f4e95b498c977fbeae784983eb4cf6085e8>
- other: <https://git.kernel.org/stable/c/196528ad484443627779540697f4fb0ef0e01c52>
- other: <https://git.kernel.org/stable/c/8307e372e7445ec7d3cd2ff107ce5078eaa02815>
- other: <https://git.kernel.org/stable/c/a41559ae3681975f1ced815d8d4c983b6b938499>
- other: <https://git.kernel.org/stable/c/e410895892f99700ce54347d42c8dbe962eea9f4>
- other: <https://git.kernel.org/stable/c/f237f79b63c9242450e6869adcd2c10445859f28>
- other: <https://git.kernel.org/stable/c/e1d09c2c2f5793474556b60f83900e088d0d366d>

## 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-2023-54226>

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