mbox series

[GIT,PULL] io_uring fixes for 6.14-rc3

Message ID e18f2a29-be98-4d08-8d83-5370e01d6d7e@kernel.dk (mailing list archive)
State New
Headers show
Series [GIT,PULL] io_uring fixes for 6.14-rc3 | expand

Pull-request

git://git.kernel.dk/linux.git tags/io_uring-6.14-20250214

Message

Jens Axboe Feb. 14, 2025, 5:28 p.m. UTC
Hi Linus,

Set of fixes for io_uring that should go into the 6.14-rc3 kernel
release. This pull request contains:

- Set of fixes for a potential data corruption issue with
  IORING_OP_URING_CMD, where not all the SQE data is stable. Will be
  revisited in the future, for now it ends up with just always copying
  it beyond prep to provide the same guarantees as all other opcodes.

- Make the waitid opcode setup async data like any other opcodes. No
  real fix here, just a consistency thing.

- Fix for waitid io_tw_state abuse.

- When a buffer group is type is changed, do so by allocating a new
  buffer group entry and discard the old one, rather than migrating.

Please pull!


The following changes since commit 8c8492ca64e79c6e0f433e8c9d2bcbd039ef83d0:

  io_uring/net: don't retry connect operation on EPOLLERR (2025-01-30 09:41:25 -0700)

are available in the Git repository at:

  git://git.kernel.dk/linux.git tags/io_uring-6.14-20250214

for you to fetch changes up to d6211ebbdaa541af197b50b8dd8f22642ce0b87f:

  io_uring/uring_cmd: unconditionally copy SQEs at prep time (2025-02-13 10:24:39 -0700)

----------------------------------------------------------------
io_uring-6.14-20250214

----------------------------------------------------------------
Caleb Sander Mateos (2):
      io_uring/uring_cmd: don't assume io_uring_cmd_data layout
      io_uring/uring_cmd: switch sqe to async_data on EAGAIN

Jens Axboe (3):
      io_uring/uring_cmd: remove dead req_has_async_data() check
      io_uring/waitid: setup async data in the prep handler
      io_uring/uring_cmd: unconditionally copy SQEs at prep time

Pavel Begunkov (2):
      io_uring/waitid: don't abuse io_tw_state
      io_uring/kbuf: reallocate buf lists on upgrade

 io_uring/kbuf.c      | 16 ++++++++++++----
 io_uring/uring_cmd.c | 28 +++++++++-------------------
 io_uring/waitid.c    | 18 +++++++++---------
 3 files changed, 30 insertions(+), 32 deletions(-)

Comments

pr-tracker-bot@kernel.org Feb. 14, 2025, 10:54 p.m. UTC | #1
The pull request you sent on Fri, 14 Feb 2025 10:28:32 -0700:

> git://git.kernel.dk/linux.git tags/io_uring-6.14-20250214

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

Thank you!