Linux block layer
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: [GIT PULL] Block fixes for 7.1-rc3
Date: Fri, 8 May 2026 13:23:12 -0600	[thread overview]
Message-ID: <36745ebc-0658-48b4-9878-982d5644642a@kernel.dk> (raw)

Hi Linus,

A few fixes for block that should go into the current kernel release.
These are mostly ublk related, in detail:

- Fix for ublk not doing an actual issue from the task_work fallback
  path. Any request hitting that should be canceled automatically.

- Fix for uring_cmd prep side handling, for the block side uring_cmd
  discard handling.

- Fix for missing validation of the io and physical block size shifts.

- Fix for a use-after-free in ublk's cancel command handling.

Please pull!


The following changes since commit 7e36e03d192a5547757bd8f9d9052a60f64e6d17:

  Merge tag 'md-7.1-20260428' of https://git.kernel.org/pub/scm/linux/kernel/git/mdraid/linux into block-7.1 (2026-04-28 08:36:26 -0600)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/block-7.1-20260508

for you to fetch changes up to f7700a4415afb3ac1767a556094e4ef8bd440e41:

  ublk: fix use-after-free in ublk_cancel_cmd() (2026-05-08 06:44:42 -0600)

----------------------------------------------------------------
block-7.1-20260508

----------------------------------------------------------------
Jens Axboe (2):
      ublk: don't issue uring_cmd from fallback task work
      block: only read from sqe on initial invocation of blkdev_uring_cmd()

Ming Lei (2):
      ublk: validate physical_bs_shift, io_min_shift and io_opt_shift
      ublk: fix use-after-free in ublk_cancel_cmd()

 block/ioctl.c            | 24 +++++++++++++++---------
 drivers/block/ublk_drv.c | 42 +++++++++++++++++++++++++++++++++++-------
 2 files changed, 50 insertions(+), 16 deletions(-)

-- 
Jens Axboe


             reply	other threads:[~2026-05-08 19:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-08 19:23 Jens Axboe [this message]
2026-05-08 20:42 ` [GIT PULL] Block fixes for 7.1-rc3 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=36745ebc-0658-48b4-9878-982d5644642a@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-block@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