CVE-2026-53191
Received Received - Intake
io_uring Buffer Ring IORING_CQE_F_BUF_MORE Inheritance Issue

Publication date: 2026-06-25

Last updated on: 2026-06-25

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/net: inherit IORING_CQE_F_BUF_MORE across bundle recv retries When a bundle recv retries inside io_recv_finish(), the merge logic OR the saved cflags from the previous iteration with the cflags returned by the new iteration: cflags = req->cqe.flags | (cflags & CQE_F_MASK); Bits listed in CQE_F_MASK are inherited from the new iteration, and all other bits (notably IORING_CQE_F_BUFFER and the buffer ID) come from the saved cflags. Before this change CQE_F_MASK covered only IORING_CQE_F_SOCK_NONEMPTY and IORING_CQE_F_MORE. When using provided buffer rings (IOU_PBUF_RING_INC) with incremental mode, and bundle recv, io_kbuf_inc_commit() can leave the head ring entry partially consumed, __io_put_kbufs() then sets IORING_CQE_F_BUF_MORE on the returned cflags so userspace knows the buffer ID will be reused for subsequent completions. Because IORING_CQE_F_BUF_MORE was not in CQE_F_MASK, the merge above silently dropped it whenever the final retry iteration partially consumed the buffer, and the subsequent req->cqe.flags = cflags & ~CQE_F_MASK save would have left a stale IORING_CQE_F_BUF_MORE in the carried-over cflags had one been present. Userspace would then wrongfully advance it ring head past an entry the kernel still uses. Add IORING_CQE_F_BUF_MORE to CQE_F_MASK so it is both inherited from the new iteration into the user-visible CQE and stripped from the saved cflags between iterations.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-25
Last Modified
2026-06-25
Generated
2026-06-25
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability involves the Linux kernel's io_uring subsystem, specifically in how it handles buffer flags during bundle receive retries. When receiving data in bundles, the kernel merges flags from multiple iterations, but previously it did not properly inherit the IORING_CQE_F_BUF_MORE flag. This flag indicates that a buffer is only partially consumed and will be reused. Because it was not inherited correctly, userspace could mistakenly think a buffer was fully consumed and advance the ring head pointer prematurely, potentially causing data corruption or misuse of buffers.

Impact Analysis

The impact of this vulnerability is that userspace applications using io_uring with provided buffer rings and incremental mode might incorrectly handle partially consumed buffers. This can lead to userspace advancing the ring head pointer past buffers still in use by the kernel, potentially causing data corruption, unexpected behavior, or crashes in applications relying on io_uring for efficient I/O operations.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53191. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart