1. Accueil
  2. Vulnérabilités
  3. CVE-2023-53204

CVE-2023-53204

af_unix: Fix data-races around user->unix_inflight.

Publiée le 15 sept. 2025 · modifiée le 5 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 20/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: af_unix: Fix data-races around user->unix_inflight. user->unix_inflight is changed under spin_lock(unix_gc_lock), but too_many_unix_fds() reads it locklessly. Let's annotate the write/read accesses to user->unix_inflight. BUG: KCSAN: data-race in unix_attach_fds / unix_inflight write to 0xffffffff8546f2d0 of 8 bytes by task 44798 on cpu 1: unix_inflight+0x157/0x180 net/unix/scm.c:66 unix_attach_fds+0x147/0x1e0 net/unix/scm.c:123 unix_scm_to_skb net/unix/af_unix.c:1827 [inline] unix_dgram_sendmsg+0x46a/0x14f0 net/unix/af_unix.c:1950 unix_seqpacket_sendmsg net/unix/af_unix.c:2308 [inline] unix_seqpacket_sendmsg+0xba/0x130 net/unix/af_unix.c:2292 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg+0x148/0x160 net/socket.c:748 ____sys_sendmsg+0x4e4/0x610 net/socket.c:2494 ___sys_sendmsg+0xc6/0x140 net/socket.c:2548 __sys_sendmsg+0x94/0x140 net/socket.c:2577 __do_sys_sendmsg net/socket.c:2586 [inline] __se_sys_sendmsg net/socket.c:2584 [inline] __x64_sys_sendmsg+0x45/0x50 net/socket.c:2584 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+0x6e/0xd8 read to 0xffffffff8546f2d0 of 8 bytes by task 44814 on cpu 0: too_many_unix_fds net/unix/scm.c:101 [inline] unix_attach_fds+0x54/0x1e0 net/unix/scm.c:110 unix_scm_to_skb net/unix/af_unix.c:1827 [inline] unix_dgram_sendmsg+0x46a/0x14f0 net/unix/af_unix.c:1950 unix_seqpacket_sendmsg net/unix/af_unix.c:2308 [inline] unix_seqpacket_sendmsg+0xba/0x130 net/unix/af_unix.c:2292 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg+0x148/0x160 net/socket.c:748 ____sys_sendmsg+0x4e4/0x610 net/socket.c:2494 ___sys_sendmsg+0xc6/0x140 net/socket.c:2548 __sys_sendmsg+0x94/0x140 net/socket.c:2577 __do_sys_sendmsg net/socket.c:2586 [inline] __se_sys_sendmsg net/socket.c:2584 [inline] __x64_sys_sendmsg+0x45/0x50 net/socket.c:2584 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+0x6e/0xd8 value changed: 0x000000000000000c -> 0x000000000000000d Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 44814 Comm: systemd-coredum Not tainted 6.4.0-11989-g6843306689af #6 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (23 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 3.2.78 (inclus) à 3.3 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.10.96 (inclus) à 3.11 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.12.57 (inclus) à 3.13 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.14.60 (inclus) à 3.15 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.18.27 (inclus) à 3.19 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.1.17 (inclus) à 4.2 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.3.5 (inclus) à 4.4 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.4.1 (inclus) à 4.5 (exclu) — CNA (éditeur ou attributeur)
Linux 4.5 — CNA (éditeur ou attributeur)
Linux kernel de 3.2.78 (inclus) à 3.3 (exclu) — NVD
Linux kernel de 3.10.96 (inclus) à 3.11 (exclu) — NVD
Linux kernel de 3.12.57 (inclus) à 3.13 (exclu) — NVD
Linux kernel de 3.14.60 (inclus) à 3.15 (exclu) — NVD
Linux kernel de 3.18.27 (inclus) à 3.19 (exclu) — NVD
Linux kernel de 4.1.17 (inclus) à 4.2 (exclu) — NVD
Linux kernel de 4.3.5 (inclus) à 4.4 (exclu) — NVD
Linux kernel de 4.4.1 (inclus) à 4.14.326 (exclu) — NVD
Linux kernel de 4.15 (inclus) à 4.19.295 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.257 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.195 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.132 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.54 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.5.4 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-362 · Autre (CWE-362)

Comment sont obtenues et calculées ces données