NetSight
high7.8

CVE-2026-31673

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 refer…

Impact

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 products

VendorProductAffected versions
LinuxLinux 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
Version 7.0

Weakness classification

References