CVE Catalog

CVE-2026-97618

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, in io_uring/net when receiving with MSG_TRUNC and the packet is larger than the buffer, the network layer returns the full packet length instead of the number of bytes copied. This causes io_uring to overconsume the provided buffer ring. Use the actual filled region size to consume the buffer while preserving MSG_TRUNC semantics.

Risk Assessment

This can lead to incorrect buffer management and potential data integrity issues or denial of service in applications using io_uring. It requires local access to io_uring interfaces.

Recommendation

Update the Linux kernel to a version containing the fix that uses the actual filled region size to consume the buffer. Review applications using io_uring with MSG_TRUNC.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: io_uring/net: don't overconsume buffers when using MSG_TRUNC When a recv/recvmsg is issued with MSG_TRUNC and the incoming packet is larger than the provided buffer, the net layer returns the full length of the packet rather than the number of bytes actually copied into the buffer. As a result, io_uring advances more of the provided buffer ring than was actually filled. Use the actual filled region size to consume the buffer, but still return the full size to preserve MSG_TRUNC semantics. Take care with multishot, because that seems to already truncate the consumption based on the available payload size. This was reported in https://github.com/axboe/liburing/issues/1619. [axboe: fold in size_t unsigned fix]

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