Skip to contentSkip to conversation

io_uring fixes for 7.2-rc3

GIT PULL Merged Jens Axboe 2 participants 2 messages Jul 11 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

A set of io_uring fixes for 7.2-rc3. This contains:

- Restore full RCU read section in io_req_local_work_add(), which was mistakenly dropped with the DEFER_TASKRUN rework in this merge window. Revert the commit that grabbed the RCU read lock in io_ctx_mark_taskrun(), as that's no longer required with the previous fix.

- Fix a dangling iovec after a provided-buffer bundle grow failure, also an issue introduced in this merge window.

- Reject IORING_CQE_F_32 flag pass-through in MSG_RING to rings that weren't setup with CQE32 or CQE_MIXED.

- Return -EINVAL rather than -ENOMEM from get_unmapped_area() when mmap validation fails, matching io_uring_mmap().

Please pull!

The following changes since commit 3996771b8f759729cba0a28007438c085f814d61:

io_uring/memmap: bound io_pin_pages() by page array byte size (2026-06-22 15:12:54 -0600)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-7.2-20260710

for you to fetch changes up to f3176c8ac4217c88fe1147ab084c47092921ffc4:

Revert "io_uring: grab RCU read lock marking task run" (2026-07-09 11:43:07 -0600)

----------------------------------------------------------------
io_uring-7.2-20260710

----------------------------------------------------------------
Hao-Yu Yang (1):
io_uring: fix dangling iovec after provided-buffer bundle grow failure

Jens Axboe (1):
Revert "io_uring: grab RCU read lock marking task run"

Melbin K Mathew (1):
io_uring/msg_ring: reject CQE32 flag pass-through to normal rings

Woraphat Khiaodaeng (1):
io_uring: restore RCU read section in io_req_local_work_add()

Yang Xiuwei (1):
io_uring/uring_cmd: fix uring_cmd.c comments

Yi Xie (1):
io_uring/memmap: return -EINVAL from get_unmapped_area() on bad mmap

 io_uring/kbuf.c      |  5 +++--
 io_uring/memmap.c    |  2 +-
 io_uring/msg_ring.c  | 34 +++++++++++++++++++++++++++-------
 io_uring/tw.c        |  9 ++++++---
 io_uring/uring_cmd.c |  4 ++--
 5 files changed, 39 insertions(+), 15 deletions(-)
Signature · 1 line
Jens Axboe
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 10 Jul 2026 22:30:17 -0600:

The pull request you sent on Fri, 10 Jul 2026 22:30:17 -0600:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-7.2-20260710

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/596d603126e4fe6857e5e39b6d5433c3f6ab5cdd

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html