uring/kbuf: fix memory leak if io_buffer_add_list fails (2026-02-05 11:13:16 -0700)

----------------------------------------------------------------
for-7.0/io_uring-20260206

----------------------------------------------------------------
Caleb Sander Mateos (4):
      io_uring: use release-acquire ordering for IORING_SETUP_R_DISABLED
      io_uring/msg_ring: drop unnecessary submitter_task checks
      io_uring/register: drop io_register_enable_rings() submitter_task check
      io_uring/rsrc: take unsigned index in io_rsrc_node_lookup()

Gabriel Krisman Bertazi (1):
      io_uring: Trim out unused includes

Jens Axboe (21):
      io_uring: IOPOLL polling improvements
      io_uring/register: have io_parse_restrictions() return number of ops
      io_uring/register: have io_parse_restrictions() set restrictions enabled
      io_uring/register: set ctx->restricted when restrictions are parsed
      io_uring: move ctx->restricted check into io_check_restriction()
      io_uring: track restrictions separately for IORING_OP and IORING_REGISTER
      io_uring: fix IOPOLL with passthrough I/O
      io_uring/uring_cmd: explicitly disallow cancelations for IOPOLL
      io_uring/timeout: annotate data race in io_flush_timeouts()
      io_uring/eventfd: remove unused ctx->evfd_last_cq_tail member
      io_uring/sync: validate passed in offset
      io_uring: add IO_URING_EXIT_WAIT_MAX definition
      io_uring/io-wq: don't trigger hung task for syzbot craziness
      io_uring: split out task work code into tw.c
      io_uring: split out CQ waiting code into wait.c
      io_uring: fix bad indentation for setup flags if statement
      io_uring/io-wq: handle !sysctl_hung_task_timeout_secs
      io_uring/futex: use GFP_KERNEL_ACCOUNT for futex data allocation
      io_uring/rsrc: use GFP_KERNEL_ACCOUNT consistently
      io_uring/net: don't continue send bundle if poll was required for retry
      io_uring/kbuf: fix memory leak if io_buffer_add_list fails

Li Chen (2):
      io_uring/io-wq: add exit-on-idle state
      io_uring: allow io-wq workers to exit when unused

Pavel Begunkov (1):
      io_uring: introduce non-circular SQ

Tim Bird (1):
      io_uring: Add SPDX id lines to remaining source files

 include/linux/io_uring_types.h |  29 +-
 include/uapi/linux/io_uring.h  |  12 +
 io_uring/Makefile              |  14 +-
 io_uring/alloc_cache.h         |   2 +
 io_uring/cancel.c              |   5 +-
 io_uring/cmd_net.c             |   1 +
 io_uring/eventfd.h             |   1 +
 io_uring/filetable.h           |   1 -
 io_uring/futex.c               |   2 +-
 io_uring/io-wq.c               |  51 ++-
 io_uring/io-wq.h               |   2 +
 io_uring/io_uring.c            | 782 +++--------------------------------------
 io_uring/io_uring.h            |  90 +----
 io_uring/kbuf.c                |   5 +-
 io_uring/memmap.c              |   2 +-
 io_uring/memmap.h              |   1 +
 io_uring/mock_file.c           |   1 +
 io_uring/msg_ring.c            |  28 +-
 io_uring/net.c                 |   6 +-
 io_uring/notif.c               |   1 +
 io_uring/refs.h                |   1 +
 io_uring/register.c            |  42 ++-
 io_uring/rsrc.c                |   2 +-
 io_uring/rsrc.h                |   2 +-
 io_uring/rw.c                  |  33 +-
 io_uring/slist.h               |  13 +-
 io_uring/sqpoll.c              |   8 +-
 io_uring/sync.c                |   2 +
 io_uring/tctx.c                |  11 +
 io_uring/timeout.c             |   2 +-
 io_uring/tw.c                  | 355 +++++++++++++++++++
 io_uring/tw.h                  | 116 ++++++
 io_uring/uring_cmd.c           |   9 +
 io_uring/wait.c                | 308 ++++++++++++++++
 io_uring/wait.h                |  49 +++
 35 files changed, 1074 insertions(+), 915 deletions(-)
 create mode 100644 io_uring/tw.c
 create mode 100644 io_uring/tw.h
 create mode 100644 io_uring/wait.c
 create mode 100644 io_uring/wait.h

-- 
Jens Axboe[GIT PULL] Core io_uring changes for 7.0-rc1Jens Axboe <axboe@kernel.dk> undefinedLinus Torvalds <torvalds@linux-foundation.org> undefined undefined