io_uring fixes for 7.4-rc4
Jens Axboe
maintainerHi Linus,
io_uring fixes for this week. This pull request contains:
- Don't run canceled local work from a task that doesn't share the mm of the submitter on ring release.
- Fail soft links on negative IOU_COMPLETE results, on cancelled futex waits, and on short or failed IOPOLL IO.
- Show the stuck io-wq workers rather than WARN on a slow exit, as the WARN can be triggered at will and the exiting task's stack trace is never the interesting one.
- Don't rearm a multishot timeout on cancel, as that could delay ring teardown for a long time.
- Keep the old registered file when a file update fails.
- Honor the sqe->len limit for legacy provided buffers in io_buffers_select().
- Apply the current cpuset of the cgroup to new io-wq workers rather than the one captured when the io-wq was created.
Please pull!
The following changes since commit 39c7210e970200f8b17de3767c73efe64173a95f:
io_uring/napi: don't end the single NAPI busy poll early on need_resched() (2026-11-09 14:48:18 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux tags/io_uring-7.4-20261119
for you to fetch changes up to 0659e44ce739ecd856164c75a5325b7959a2921d:
io_uring/io-wq: apply the current cpuset to new workers (2026-11-18 09:06:05 -0700)
----------------------------------------------------------------
io_uring-7.4-20261119
----------------------------------------------------------------
Cheng Yongkang (2):
io_uring/timeout: don't rearm a multishot timeout on cancel io_uring/rsrc: keep the old file when a file update fails
Jens Axboe (2):
io_uring: don't run canceled local work from a foreign mm on release io_uring/io-wq: show stuck workers rather than WARN on a slow exit
Mikhail Malyshev (1):
io_uring/io-wq: apply the current cpuset to new workers
Siddharth Chintamaneni (1):
io_uring/kbuf: initialize arg->out_len from arg->max_len in io_buffers_select()
Yang Xiuwei (3):
io_uring: fail soft links on negative IOU_COMPLETE results io_uring/futex: fail soft links when cancelling a wait io_uring/rw: fail soft links on IOPOLL short or error IO
io_uring/futex.c | 1 + io_uring/io-wq.c | 68 +++++++++++++++++++++++++++++++++++++++------ io_uring/io_uring.c | 12 ++++++-- io_uring/kbuf.c | 1 + io_uring/rsrc.c | 6 ++-- io_uring/rw.c | 4 ++- io_uring/timeout.c | 3 +- io_uring/tw.c | 7 +++-- io_uring/tw.h | 11 ++++++++ 9 files changed, 95 insertions(+), 18 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Fri, 20 Nov 2026 08:11:37 -0700:
The pull request you sent on Fri, 20 Nov 2026 08:11:37 -0700:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linuxtags/io_uring-7.4-20261119
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/78d9aedf2342cac9968392995d8f7fd488caa337
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html