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 7.4-rc5
Date: Fri, 27 Nov 2026 19:12:18 -0700 [thread overview]
Message-ID: <0e7b0717-e1a9-4a26-a78c-12632e61fe90@kernel.dk> (raw)
Hi Linus,
io_uring fixes for this week - bigger than I'd like at this point, but
that's mostly looking at the commit count. The fixes are all pretty
small and isolated. This pull request contains:
- Don't charge the whole folio offset to the skb truesize for managed
frags, as a registered buffer backed by huge pages otherwise looked
like a full socket long before any real memory was used.
- recvmsg retry fixes: don't copy msg_name again on a retry, and
restore the cmsg buffer before a retry.
- Clear REQ_F_BL_NO_RECYCLE when the buffers it was set for are put,
fixing a NULL pointer dereference in bundle receive with MSG_WAITALL.
- Free the ring from an RCU work, fixing a use-after-free of the ctx
when a task removing its tctx node races with the ring exit work.
Cleanup on top to unify how the ring is freed across ring types.
- Don't install O_PATH files in the fixed file table from a direct
open, as the opcode handlers never expect to see one.
- Hold timeout_lock for the linked timeout splice, and always walk the
link chain under it in io_match_task_safe().
- Don't count the buffers of a send bundle at completion, as a packet
socket with a TX ring can return more than the iovecs cover.
- Drop cached task refs when the exiting task releases a ring, fixing
a task_struct leak.
- Allow an empty path with O_EMPTYPATH for openat/openat2.
- Validate loop_step before registering a bpf-ops struct_ops map.
Please pull!
The following changes since commit 0659e44ce739ecd856164c75a5325b7959a2921d:
io_uring/io-wq: apply the current cpuset to new workers (2026-11-18 09:06:05 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux tags/io_uring-7.4-20261127
for you to fetch changes up to ba0084f1402bdf2946282290a3fb0af8f3544759:
io_uring/bpf-ops: validate loop_step before registration (2026-11-26 09:18:23 -0700)
----------------------------------------------------------------
io_uring-7.4-20261127
----------------------------------------------------------------
Chris Mason (9):
io_uring/net: don't copy msg_name on a recvmsg retry
io_uring/kbuf: clear REQ_F_BL_NO_RECYCLE on buffer put
io_uring: free the ring after a grace period
io_uring/filetable: don't install O_PATH files
io_uring/timeout: hold timeout_lock for the link splice
io_uring/cancel: always walk links under timeout_lock
io_uring/net: don't count the buffers of a send bundle
io_uring: drop cached task refs on ring release
io_uring/net: restore the cmsg buffer on recvmsg retry
Hengyu Liang (1):
io_uring/openclose: allow an empty path with O_EMPTYPATH
Jens Axboe (1):
io_uring: free the ring from an RCU work
Louis Thiery (1):
io_uring/net: don't charge the folio offset to truesize for managed frags
Sechang Lim (1):
io_uring/bpf-ops: validate loop_step before registration
include/linux/io_uring_types.h | 2 ++
io_uring/bpf-ops.c | 8 ++++++++
io_uring/cancel.c | 18 ++++++++----------
io_uring/filetable.c | 3 +++
io_uring/io_uring.c | 24 +++++++++++++++++++-----
io_uring/kbuf.c | 3 +++
io_uring/net.c | 27 +++++++++++++++++++++------
io_uring/openclose.c | 5 ++++-
io_uring/tctx.c | 3 +++
io_uring/timeout.c | 5 ++++-
io_uring/tw.c | 2 +-
11 files changed, 76 insertions(+), 24 deletions(-)
--
Jens Axboe
next reply other threads:[~2026-11-28 2:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 2:12 Jens Axboe [this message]
2026-11-28 3:14 ` [GIT PULL] io_uring fixes for 7.4-rc5 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=0e7b0717-e1a9-4a26-a78c-12632e61fe90@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