Skip to main content
Vulnerability Database/CVE-2026-97618

CVE-2026-97618: Linux Kernel io_uring Buffer DOS Vulnerability

CVE-2026-97618 is a denial of service vulnerability in the Linux kernel's io_uring network subsystem affecting buffer consumption with MSG_TRUNC. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97618 Overview

CVE-2026-97618 is a Linux kernel vulnerability in the io_uring/net subsystem. The flaw causes buffer ring overconsumption when recv or recvmsg operations use the MSG_TRUNC flag. When an incoming packet exceeds the provided buffer size, the network layer returns the full packet length rather than the number of bytes actually copied. The io_uring code then advances the provided buffer ring by the untruncated length, consuming more buffer space than was filled. The issue was reported against liburing and resolved in the mainline kernel.

Critical Impact

Applications using io_uring with provided buffer rings and MSG_TRUNC semantics can desynchronize their buffer accounting, leading to data corruption, information disclosure across buffers, or unreliable network receive paths.

Affected Products

  • Linux kernel versions containing the io_uring/net provided-buffer receive path with MSG_TRUNC support
  • Userspace applications linked against liburing that rely on buffer ring consumption semantics
  • Server workloads using io_uring for high-throughput UDP or packet-oriented sockets

Discovery Timeline

  • 2026-09-25 - CVE-2026-97618 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97618

Vulnerability Analysis

The io_uring subsystem supports provided buffer rings, allowing userspace to pre-register buffers that the kernel consumes on demand during asynchronous network receive operations. When a receive operation completes, io_uring advances the ring head by the number of bytes it believes were written into the selected buffer.

When a caller sets the MSG_TRUNC flag on recv or recvmsg, the networking layer intentionally returns the real length of the incoming datagram, not the amount copied into the user buffer. This semantic lets applications learn how large a packet was even when their buffer is too small. The io_uring receive path treated this return value as the amount consumed from the buffer ring, overconsuming buffer space when the datagram was larger than the destination buffer.

Root Cause

The root cause is a mismatch between network-layer return semantics and io_uring buffer accounting. The fix uses the actual filled region size to advance the buffer ring while still returning the full packet length to userspace, preserving MSG_TRUNC behavior. The patch also handles the multishot receive path, which already truncates consumption to available payload size. An additional size_t unsigned correction was folded in to prevent signed/unsigned comparison issues.

Attack Vector

Exploitation requires a local attacker or networked peer able to send datagrams larger than the receiving application's provided buffers while the application uses io_uring with MSG_TRUNC. The vulnerability is not a direct memory-corruption primitive. The impact is buffer-accounting drift: subsequent reads may consume buffers that were never written, causing stale data to be processed, legitimate data to be dropped, or denial of service through buffer-ring exhaustion.

No verified public exploit code is available. The upstream fixes are published in Linux kernel commits 2e70ea7, 6028b54, and 927d96f.

Detection Methods for CVE-2026-97618

Indicators of Compromise

  • Unexpected gaps or stale payloads in applications consuming io_uring provided buffer rings on packet sockets
  • Elevated rates of truncated datagrams logged by server processes that use IORING_OP_RECV or IORING_OP_RECVMSG
  • Buffer ring exhaustion errors (ENOBUFS) in io_uring completion queue entries without corresponding traffic volume

Detection Strategies

  • Audit running kernels with uname -r and cross-reference against the stable branches that include commits 2e70ea7, 6028b54, and 927d96f
  • Inventory workloads using io_uring with provided buffer rings and MSG_TRUNC by inspecting syscall patterns via strace, bpftrace, or eBPF-based telemetry
  • Correlate application-level packet-loss or data-integrity anomalies with kernel version data in your asset inventory

Monitoring Recommendations

  • Deploy eBPF probes on io_recv and related kernel symbols to track discrepancies between returned length and buffer consumption
  • Monitor syslog and dmesg for io_uring-related warnings on servers running unpatched kernels
  • Track kernel version drift across the fleet and alert when hosts fall behind the vendor-provided stable release containing the fix

How to Mitigate CVE-2026-97618

Immediate Actions Required

  • Identify Linux hosts running kernel builds that predate the io_uring fix and prioritize patching
  • Update to a distribution kernel that incorporates upstream commits 2e70ea7, 6028b54, and 927d96f
  • Reboot affected systems after patching to activate the corrected kernel image

Patch Information

The fix is available in the upstream Linux kernel through three commits on git.kernel.org: Kernel Git Commit 2e70ea7, Kernel Git Commit 6028b54, and Kernel Git Commit 927d96f. Apply the stable kernel update provided by your Linux distribution vendor once it incorporates these commits.

Workarounds

  • Avoid using MSG_TRUNC with io_uring provided buffer rings on unpatched kernels; use classic recv/recvmsg paths instead
  • Size provided buffers to exceed the maximum expected datagram length so truncation never triggers
  • Prefer multishot receive variants where feasible, since those already truncate consumption to the actual payload size
bash
# Verify current kernel version and confirm patch presence
uname -r

# On Debian/Ubuntu-based systems
sudo apt update && sudo apt upgrade linux-image-$(uname -r | cut -d- -f3-)

# On RHEL/Rocky/Alma-based systems
sudo dnf update kernel

# Reboot to load the patched kernel
sudo systemctl reboot

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.