io_uring fixes for 7.3-rc6
Jens Axboe
maintainerHi Linus,
A set of io_uring fixes for this week. It's really a collection of things from the last few weeks, just various life things have got them bundled up for this week. This pull request contains:
- Fix a task_work add use-after-free with SQPOLL, where the sqpoll thread could pop and complete the last request while io_req_normal_work_add() was still looking at them after the mpscq push. Use the same approach as DEFER_TASKRUN to protect from that, holding an RCU read lock across the add, and have exit wait for an RCU grace period for SQPOLL rings as well.
- CQE32 ring fixes: correct the free entry check for 32b CQEs, zero the big_cqe for aux CQEs, and only post the dummy skip CQE on CQE_MIXED rings
- Mark the source filter table as COW when cloning bpf filters, so registering another filter on the source doesn't modify the shared table in place
- Initialize the task context before running the BPF loop
- Requeue zcrx multishot receives stopped by a local resource
- End a TX_TIMESTAMP multishot cmd when the CQ is full (lollipopkit)
Please pull!
The following changes since commit 47ccc3f1c615a46c25cbf7f3ae60df30b40eb2e6:
io_uring/rw: keep CQE flags on iopoll requests when adding kbuf flags (2026-09-09 09:59:02 -0600)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-7.3-20261002
for you to fetch changes up to a92193c91e8839fe5fc209616ea95465ae4b919d:
io_uring: fix task_work add use-after-free with SQPOLL (2026-09-29 06:52:39 -0600)
----------------------------------------------------------------
io_uring-7.3-20261002
----------------------------------------------------------------
Hui Peng (4):
io_uring/bpf_filter: mark source as COW when cloning filters
io_uring: only post the dummy skip CQE on CQE_MIXED rings
io_uring: fix free entry check for 32b CQEs on CQE32 rings
io_uring: zero big_cqe for aux CQEs on CQE32 rings
Jens Axboe (1):
io_uring: fix task_work add use-after-free with SQPOLL
Junyuan Feng (1):
io_uring/zcrx: requeue multishot receives stopped by a local resource
Yao Kai (1):
io_uring: initialize task context before running the BPF loop
lollipopkit (1):
io_uring/cmd_net: end TX_TIMESTAMP multishot when the CQ is full
io_uring/bpf_filter.c | 1 + io_uring/cmd_net.c | 19 ++++++++++++++----- io_uring/io_uring.c | 16 +++++++++------- io_uring/loop.c | 5 +++++ io_uring/tw.c | 3 +++ io_uring/zcrx.c | 9 +++++++-- 6 files changed, 39 insertions(+), 14 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Fri, 2 Oct 2026 08:48:26 -0600:
The pull request you sent on Fri, 2 Oct 2026 08:48:26 -0600:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-7.3-20261002
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3f1fe48a36b0b6722dc3fd421d93512bac138e9a
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html