CVE-2026-98394: af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.

Published Oct 14, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

afunix: Return immediately when manageoob() returns NULL for 0-length buffer.

Fahad Alharbi reported that recv(0, MSGPEEK) triggers busy-wait in unixstreamreadgeneric() if recv() is blocking and the last skb in the queue is MSGOOB skb.

In such a situation, TCP returns 0 immediately regardless of blocking or non-blocking.

Let's follow the behaviour.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 14, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the busy-wait?

A blocking UNIX-domain stream socket receive must be called with a zero-length buffer and MSG_PEEK, while the last queued socket buffer is an MSG_OOB buffer.

2

Is a non-blocking receive affected?

The described busy-wait condition applies when recv() is blocking. The expected behavior for a zero-length receive is to return 0 immediately, regardless of blocking or non-blocking mode.

3

What is the practical impact?

Under the stated socket and receive conditions, unix_stream_read_generic() can busy-wait rather than returning immediately, potentially consuming CPU until the queue state changes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203