io_uring fixes for 7.2-rc6
Jens Axboe
maintainerHi Linus,
A few fixes for io_uring that should go into the 7.2 kernel release. This pull request contains:
- Fix for a bug in how length caps are handled in multishot, and along with it, a generic fix for avoiding these kinds of conversion issues in the future.
- Ensure that task restrictions are always preserved across exec.
- Revert of the io_uring controlled epoll restriction, which disallowed nested contexts. Turns out that libuv is already using it like that, so we cannot simply remove it, sadly.
- Fix for a reference leak in the zcrx code.
Please pull!
The following changes since commit f5098b6bae761e346ebcd9da7f95622c04733cff:
Linux 7.2-rc5 (2026-07-26 14:45:48 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-7.2-20260731
for you to fetch changes up to bc0e8faf90e776a2f1f3967a04e8091e6bdb4977:
io_uring: preserve task restrictions across exec (2026-07-30 14:40:22 -0600)
----------------------------------------------------------------
io_uring-7.2-20260731
----------------------------------------------------------------
Jens Axboe (3):
io_uring/net: initialize mshot_len for send
io_uring/kbuf: cap buffer selection length at MAX_RW_COUNT Revert "io_uring/epoll: disallow adding an epoll file to an epoll context"
Kyumin Lee (1):
io_uring: preserve task restrictions across exec
Woraphat Khiaodaeng (1):
io_uring/zcrx: don't clear master_ctx from the import path
io_uring/cancel.c | 2 +- io_uring/epoll.c | 3 --- io_uring/kbuf.c | 5 ++++- io_uring/net.c | 1 + io_uring/tctx.c | 7 ++++++- io_uring/tctx.h | 1 + io_uring/zcrx.c | 3 ++- 7 files changed, 15 insertions(+), 7 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Fri, 31 Jul 2026 15:43:40 -0600:
The pull request you sent on Fri, 31 Jul 2026 15:43:40 -0600:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-7.2-20260731
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5d0c32d6ec00cf155d2263b82ec255faa3888c9f
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html