Bug 2461752 (CVE-2026-31673) - CVE-2026-31673 kernel: af_unix: read UNIX_DIAG_VFS data under unix_state_lock
Summary: CVE-2026-31673 kernel: af_unix: read UNIX_DIAG_VFS data under unix_state_lock
Keywords:
Status: NEW
Alias: CVE-2026-31673
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-25 09:01 UTC by OSIDB Bzimport
Modified: 2026-04-27 10:38 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-25 09:01:15 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.