CVE-2026-31673

high

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.

References

https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0

https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c

https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9

https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef

https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8

Details

Source: Mitre, NVD

Published: 2026-04-25

Updated: 2026-05-06

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00018