CVE-2026-98394

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

Published Oct 14, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The Linux kernel contains a flaw in the af_unix implementation where attempting to process a zero‑length buffer that causes manage_oob() to return NULL leads unix_stream_read_generic() into a busy‑wait loop. When a process issues recv(0, MSG_PEEK) on a socket that is blocking, the kernel immediately returns 0, wasting CPU cycles and potentially stalling normal socket operations. This local resource exhaustion can degrade system responsiveness and create a denial‑of‑service scenario without compromising data integrity or confidentiality.

Affected Systems

Linux kernel on all supported releases, as the affected code resides in the core af_unix subsystem. Any running kernel that contains this af_unix implementation—until the patch is applied—is potentially impacted, regardless of specific version numbers.

Risk and Exploitability

The CVSS score is 5.5, indicating moderate severity. The EPSS score is less than 1 %, meaning very low likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Classified as CWE‑835. The likely attack vector is a local user or a process with privileges that can write to a Unix domain socket. While no public exploits have been documented, an attacker could send a crafted zero‑length out‑of‑band message to a sensitive socket, causing the kernel to spin and consume CPU resources, thereby impacting overall system availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest Linux kernel update that contains the af_unix out‑of‑band guard commit referenced in the advisory revisions.
  • If updating the kernel immediately is not possible, consider temporarily disabling or restricting write access to Unix domain sockets used by privileged processes, or blocking the use of recv(0, MSG_PEEK) signals to mitigate busy‑wait.
  • Monitor system CPU usage for abnormal spikes and use cgroups or resource limits to contain any potential resource exhaustion caused by this flaw.

Generated by OpenCVE AI on October 16, 2026 at 23:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-835
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
Description 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.
Title af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:18 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 14, 2026, 2:17 PM
Modified
Oct 19, 2026, 10:18 AM
Severity
Low
Public date
Oct 14, 2026, 12:00 AM