CVE 7.8 HIGH

af_unix: read UNIX_DIAG_VFS data under unix_state_lock_CVE-2026-31673

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

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.

Basic Information

ID CVE-2026-31673
Source Linux
Published Apr 25, 2026 at 08:46
Modified Apr 27, 2026 at 14:04

Affected Product

Vendor Linux
Product Linux
Version 5f7b0569460b7d8d01ca776430a00505a68b7584
Affected Versions Linux Linux 5f7b0569460b7d8d01ca776430a00505a68b7584
Linux Linux 5f7b0569460b7d8d01ca776430a00505a68b7584
Linux Linux 5f7b0569460b7d8d01ca776430a00505a68b7584
Linux Linux 5f7b0569460b7d8d01ca776430a00505a68b7584
Linux Linux 5f7b0569460b7d8d01ca776430a00505a68b7584
Linux Linux 3.3

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.