CVE Catalog

CVE-2026-98394

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, recv(0, MSG_PEEK) in blocking mode triggered a busy-wait in unix_stream_read_generic() when the last skb in the queue was a MSG_OOB skb. This affects AF_UNIX sockets. The fix makes the function return 0 immediately, matching TCP behavior.

Risk Assessment

Can cause excessive CPU consumption by a process waiting on a UNIX socket, potentially leading to slowdown or denial of service. Affects applications using AF_UNIX sockets with OOB data.

Recommendation

Update the Linux kernel to a version containing the fix for this issue. If updating is not possible, avoid blocking recv(0, MSG_PEEK) on AF_UNIX sockets with MSG_OOB data.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer. Fahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait in unix_stream_read_generic() if recv() is blocking and the last skb in the queue is MSG_OOB skb. In such a situation, TCP returns 0 immediately regardless of blocking or non-blocking. Let's follow the behaviour.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS