CVE-2026-23394
kernel: af_unix: Give up GC if MSG_PEEK intervened
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 25, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel's af_unix component. A race condition exists between the MSG_PEEK operation and the garbage collection process. This can allow a local user to cause the garbage collector to incorrectly purge the receive queue of an alive socket, potentially leading to a denial of service.
Statement
This flaw affects AF_UNIX socket file descriptor passing with MSG_PEEK. The race between GC's liveness check and MSG_PEEK refcount bumping can cause GC to incorrectly purge queues of live sockets. This is a regression of a previously fixed issue (commit cbcf01128d0a) that was reintroduced when the GC algorithm was replaced.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition