CVE
CVE-2026-31673
CNA 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 versions
All Linux kernel vulnerabilities →
- 7.0-rc7This version only
- 7.0-rc6This version only
- 7.0-rc5This version only
- 7.0-rc4This version only
- 7.0-rc3This version only
- 7.0-rc2This version only
- 7.0-rc1This version only
- ≥ 6.19, < 6.19.14Fixed in 6.19.14
- ≥ 6.13, < 6.18.24Fixed in 6.18.24
- ≥ 6.7, < 6.12.83Fixed in 6.12.83
- ≥ 3.3, < 6.6.136Fixed in 6.6.136
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8 · Patch
- git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef · Patch
- git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9 · Patch
- git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c · Patch
- git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.