# CVE-2023-54226: linux: In the Linux kernel, the following vulnerability has been resolved:  af_unix: Fix data races around sk->sk_shutdown

CVE-2023-54226 is fixed in 20 products on 1 platform, first by ALAS2023-2023-228, released June 21, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-54226
- Priority: High
- CVSS: n/a (important)
- EPSS: 0.0021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 21, 2023

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | bpftool-debuginfo amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-debuginfo amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-debuginfo-common-aarch64 amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-debuginfo-common-x86_64 amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-devel amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-headers amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-libbpf amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-libbpf-devel amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-libbpf-static amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-livepatch-6.1.34-56.100 amzn 2023 | 1.0-0.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-tools amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-tools-debuginfo amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | kernel-tools-devel amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.37-1 | [DEBIAN-CVE-2023-54226](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54226.md) | Dec 30, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.3.7-1 | [DEBIAN-CVE-2023-54226](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54226.md) | Dec 30, 2025 |
| Linux | linux Debian 14 | 6.3.7-1 | [DEBIAN-CVE-2023-54226](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54226.md) | Dec 30, 2025 |
| Linux | perf amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | perf-debuginfo amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | python3-perf amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |
| Linux | python3-perf-debuginfo amzn 2023 | 6.1.34-56.100.amzn2023 | [ALAS2023-2023-228](https://patchblox.com/security/data/fix/linux/alas2023-2023-228.md) | Jun 21, 2023 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
