Skip to contentSkip to conversation

Block fixes for 7.1-rc3

GIT PULL Merged Jens Axboe 2 participants 2 messages May 8 Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore 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(-)
Signature · 1 line
Jens Axboe
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 8 May 2026 13:23:12 -0600:

The pull request you sent on Fri, 8 May 2026 13:23:12 -0600:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cbf457c584b5cbd0d44e8f05edaf3e189e894a68

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html