7.8high
af_unix: read UNIX_DIAG_VFS data under unix_state_lock
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: af_unix: read UNIX_DIAG_VFS data under unix_state_lock Exact UNIX diag lookups hold a reference to the socket, but not to u->path. Meanwhile, unix_release_sock() clears u->path under unix_state_lock() and drops the path reference after unlocking. Read the inode and device numbers for UNIX_DIAG_VFS while holding unix_state_lock(), then emit the netlink attribute after dropping the lock. This keeps the VFS data stable while the reply is being built.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5f7b0569460b7d8d01ca776430a00505a68b7584 before e7339db13b9ddb63417b12da55fd6191e59f7442, from 5f7b0569460b7d8d01ca776430a00505a68b7584 before 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7, from 5f7b0569460b7d8d01ca776430a00505a68b7584 before c3ec44ab4526bbc4b6c9fc845af86488244f4c9b, from 5f7b0569460b7d8d01ca776430a00505a68b7584 before b9232421a77a649c9376c99fdfc8cb7f79cad34c, from 5f7b0569460b7d8d01ca776430a00505a68b7584 before 0c739f3785f84af695952c2bac8be2f45082c9b8, from 5f7b0569460b7d8d01ca776430a00505a68b7584 before 900a4e0910e98b8caef117d5df00471fa438dcf9, from 5f7b0569460b7d8d01ca776430a00505a68b7584 before bdf206e740bf2919d818f132c8c9cc7ed91d11c0, from 5f7b0569460b7d8d01ca776430a00505a68b7584 before 39897df386376912d561d4946499379effa1e7ef and 1 more Not affected: before 3.3, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.* | CVE List |
| linux linux_kernel | from 3.3 before 6.6.136, from 6.7 before 6.12.83, from 6.13 before 6.18.24, from 6.19 before 6.19.14, 7.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: af_unix: read UNIX_DIAG_VFS data under unix_state_lock Exact UNIX diag lookups hold a reference to the socket, but not to u->path. Meanwhile, unix_release_sock() clears u->path under unix_state_lock() and drops the path reference after unlocking. Read the inode and device numbers for UNIX_DIAG_VFS while holding unix_state_lock(), then emit the netlink attribute after dropping the lock. This keeps the VFS data stable while the reply is being built.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: af_unix: leer datos de UNIX_DIAG_VFS bajo unix_state_lock Las búsquedas de diagnóstico UNIX exactas mantienen una referencia al socket, pero no a u -> path. Mientras tanto, unix_release_sock() borra u -> path bajo unix_state_lock() y libera la referencia de la ruta después de desbloquear. Leer los números de inodo y de dispositivo para UNIX_DIAG_VFS mientras se mantiene unix_state_lock(), luego emitir el atributo netlink después de liberar el bloqueo. Esto mantiene los datos VFS estables mientras se construye la respuesta.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31673 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-31673 changed 2026-11-11 | Public domain |