Skip to contentSkip to conversation

io_uring fixes for 6.18-rc2

GIT PULL Merged Jens Axboe 2 participants 2 messages Oct 17, 2025 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

A small set of fixes for io_uring that should go into this release. This pull request contains:

- Revert of a change that went into an older kernel, and which has been reported to cause a regression for some write workloads on LVM while a snapshop is being created.

- Fix a regression from this merge window, where some compilers (and/or certain .config options) would cause an earlier evaluations of a dereference which would then cause a NULL pointer dereference. I was only able to reproduce this with OPTIMIZE_FOR_SIZE=y, but David Howells hit it with just KASAN enabled. Depending on how things inlined, this makes sense.

- Fix for a missing lock around a mem region unregistration.

- Fix for ring resizing with the same placement after resize.

Please pull!

The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:

Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-6.18-20251016

for you to fetch changes up to 18d6b1743eafeb3fb1e0ea5a2b7fd0a773d525a8:

io_uring/rw: check for NULL io_br_sel when putting a buffer (2025-10-15 13:38:53 -0600)

----------------------------------------------------------------
io_uring-6.18-20251016

----------------------------------------------------------------
Jens Axboe (2):
Revert "io_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common()" io_uring/rw: check for NULL io_br_sel when putting a buffer

Pavel Begunkov (2):
io_uring: protect mem region deregistration
io_uring: fix unexpected placement on same size resizing

 io_uring/register.c | 8 +-------
 io_uring/rw.c       | 8 ++++++--
 2 files changed, 7 insertions(+), 9 deletions(-)
Signature · 1 line
Jens Axboe
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 17 Oct 2025 04:26:14 -0600:

The pull request you sent on Fri, 17 Oct 2025 04:26:14 -0600:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-6.18-20251016

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6f3b6e91f7201e248d83232538db14d30100e9c7

Thank you!

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