public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: io-uring <io-uring@vger.kernel.org>
Subject: [GIT PULL] io_uring fixes for 6.16-rc2
Date: Sat, 14 Jun 2025 06:28:48 -0600	[thread overview]
Message-ID: <2b9b7ac1-31e1-4e1b-972d-81ede60d2c05@kernel.dk> (raw)

Hi Linus,

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

- Fix for a race between SQPOLL exit and fdinfo reading. It's slim and I
  was only able to reproduce this with an artificial delay in the
  kernel. Followup sparse fix as well to unify the access to ->thread.

- Fix for multiple buffer peeking, avoiding truncation if possible.

- Run local task_work for IOPOLL reaping when the ring is exiting. This
  currently isn't done due to an assumption that polled IO will never
  need task_work, but a fix on the block side is going to change that.

Please pull!


The following changes since commit 079afb081c4288e94d5e4223d3eb6306d853c68b:

  io_uring/futex: mark wait requests as inflight (2025-06-04 10:50:14 -0600)

are available in the Git repository at:

  git://git.kernel.dk/linux.git tags/io_uring-6.16-20250614

for you to fetch changes up to b62e0efd8a8571460d05922862a451855ebdf3c6:

  io_uring: run local task_work from ring exit IOPOLL reaping (2025-06-13 15:26:17 -0600)

----------------------------------------------------------------
io_uring-6.16-20250614

----------------------------------------------------------------
Jens Axboe (2):
      io_uring/kbuf: don't truncate end buffer for multiple buffer peeks
      io_uring: run local task_work from ring exit IOPOLL reaping

Keith Busch (1):
      io_uring: consistently use rcu semantics with sqpoll thread

Penglei Jiang (1):
      io_uring: fix use-after-free of sq->thread in __io_uring_show_fdinfo()

 io_uring/fdinfo.c   | 12 ++++++++++--
 io_uring/io_uring.c |  7 +++++--
 io_uring/kbuf.c     |  5 ++++-
 io_uring/register.c |  7 +++++--
 io_uring/sqpoll.c   | 43 ++++++++++++++++++++++++++++---------------
 io_uring/sqpoll.h   |  8 +++++++-
 6 files changed, 59 insertions(+), 23 deletions(-)

-- 
Jens Axboe


             reply	other threads:[~2025-06-14 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-14 12:28 Jens Axboe [this message]
2025-06-14 18:11 ` [GIT PULL] io_uring fixes for 6.16-rc2 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2b9b7ac1-31e1-4e1b-972d-81ede60d2c05@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox