Linux Kernel Unix Domain Socket Data-Race Vulnerability

Vulnerability

A data-race vulnerability has been identified in the Linux kernel's handling of Unix domain sockets. The issue arises in the 'unix_dgram_peer_wake_me()' function, which is called by 'unix_dgram_poll()' without holding the necessary lock on the 'other' socket. This can lead to a race condition when checking if the receive queue is full. To avoid this, 'unix_recvq_full_lockless()' should be used instead of 'unix_recvq_full()', as the latter can trigger a data-race warning from the Kernel Concurrency Sanitizer (KCSAN).

Impact

Exploitation of this vulnerability can lead to a data-race condition, potentially causing undefined behavior in the kernel.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.