CVE-2026-31673
7.8 HIGHIn the Linux kernel, the following vulnerability has been resolved: af_unix: read UNIX_DIAG_VFS data under unix_state_lock Exact UNIX d...
Published: 2026-04-25 · Last updated: 2026-06-01
Severity and scoring
- CVSS
- 7.8 HIGH
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product |
|---|---|
| linux | linux_kernel |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-31673
- [Patch]https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8
- [Patch]https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef
- [Other]https://git.kernel.org/stable/c/4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7
- [Patch]https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9
- [Patch]https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c
- [Patch]https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0
- [Other]https://git.kernel.org/stable/c/c3ec44ab4526bbc4b6c9fc845af86488244f4c9b
- [Other]https://git.kernel.org/stable/c/e7339db13b9ddb63417b12da55fd6191e59f7442
Related CVEs
Same vendor
- CVE-2026-46273 — In the Linux kernel, the following vulnerability has been resolved: ibmveth: Disable GSO for packets with small MSS Some physical adapt... (8.6 HIGH)
- CVE-2026-46272 — In the Linux kernel, the following vulnerability has been resolved: coresight: tmc-etr: Fix race condition between sysfs and perf mode ... (4.7 MEDIUM)
- CVE-2026-46271 — In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: do WoW offloads only on primary link In case of multi... (7.8 HIGH)
- CVE-2026-46270 — In the Linux kernel, the following vulnerability has been resolved: power: supply: rt9455: Fix use-after-free in power_supply_changed() ... (8.4 HIGH)
- CVE-2026-46269 — In the Linux kernel, the following vulnerability has been resolved: pinctrl: canaan: k230: Fix NULL pointer dereference when parsing dev... (5.5 MEDIUM)