Hi Linus, Set of fixes for block that should go into the 6.3-rc3 release. A bit bigger than usual, as the NVMe pull request missed last weeks submission. In detail: - NVMe pull request via Christoph: - Avoid potential UAF in nvmet_req_complete (Damien Le Moal) - More quirks (Elmer Miroslav Mosher Golovin, Philipp Geulen) - Fix a memory leak in the nvme-pci probe teardown path (Irvin Cote) - Repair the MAINTAINERS entry (Lukas Bulwahn) - Fix handling single range discard request (Ming Lei) - Show more opcode names in trace events (Minwoo Im) - Fix nvme-tcp timeout reporting (Sagi Grimberg) - MD pull request via Song: - Two fixes for old issues (Neil) - Resource leak in device stopping (Xiao) - Bio based device stats fix (Yu) - Kill unused CONFIG_BLOCK_COMPAT (Lukas) - sunvdc missing mdesc_grab() failure check (Liang) - Fix for reversal of request ordering upon issue for certain cases (Jan) - null_blk timeout fixes (Damien) - Loop use-after-free fix (Bart) - blk-mq SRCU fix for BLK_MQ_F_BLOCKING devices (Christ) Side note - when doing the usual allmodconfig builds with gcc-12 and clang before sending them out, for the latter I see this warning being spewed with clang-15: drivers/media/i2c/m5mols/m5mols.o: warning: objtool: m5mols_set_fmt() falls through to next function m5mols_get_frame_desc() Obviously not related to my changes, but mentioning it in case it has been missed as I know you love squeaky clean builds :-). Doesn't happen with clang-14. Please pull! The following changes since commit e2f2a39452c43b64ea3191642a2661cb8d03827a: block, bfq: fix uaf for 'stable_merge_bfqq' (2023-03-08 07:34:50 -0700) are available in the Git repository at: git://git.kernel.dk/linux.git tags/block-6.3-2023-03-16 for you to fetch changes up to 8f0d196e4dc137470bbd5de98278d941c8002fcb: block: remove obsolete config BLOCK_COMPAT (2023-03-16 09:35:44 -0600) ---------------------------------------------------------------- block-6.3-2023-03-16 ---------------------------------------------------------------- Bart Van Assche (1): loop: Fix use-after-free issues Chris Leech (1): blk-mq: fix "bad unlock balance detected" on q->srcu in __blk_mq_run_dispatch_ops Damien Le Moal (3): block: null_blk: Fix handling of fake timeout request block: null_blk: cleanup null_queue_rq() nvmet: avoid potential UAF in nvmet_req_complete() Elmer Miroslav Mosher Golovin (1): nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000 Irvin Cote (1): nvme-pci: fixing memory leak in probe teardown path Jan Kara (1): block: do not reverse request order when flushing plug list Jens Axboe (2): Merge branch 'md-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into block-6.3 Merge tag 'nvme-6.3-2022-03-16' of git://git.infradead.org/nvme into block-6.3 Liang He (1): block: sunvdc: add check for mdesc_grab() returning NULL Lukas Bulwahn (2): MAINTAINERS: repair malformed T: entries in NVM EXPRESS DRIVERS block: remove obsolete config BLOCK_COMPAT Ming Lei (1): nvme: fix handling single range discard request Minwoo Im (1): nvme-trace: show more opcode names NeilBrown (2): md: avoid signed overflow in slot_store() md: select BLOCK_LEGACY_AUTOLOAD Philipp Geulen (1): nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620 Sagi Grimberg (2): nvme-tcp: fix opcode reporting in the timeout handler nvme-tcp: add nvme-tcp pdu size build protection Xiao Ni (1): md: Free resources in __md_stop Yu Kuai (1): block: count 'ios' and 'sectors' when io is done for bio-based device MAINTAINERS | 8 ++++---- block/Kconfig | 3 --- block/blk-core.c | 16 ++++++---------- block/blk-mq.c | 5 +++-- block/blk-mq.h | 5 +++-- drivers/block/loop.c | 25 +++++++++++++++++-------- drivers/block/null_blk/main.c | 31 +++++++++++++++---------------- drivers/block/sunvdc.c | 2 ++ drivers/md/Kconfig | 4 ++++ drivers/md/dm.c | 6 +++--- drivers/md/md.c | 17 ++++++++--------- drivers/nvme/host/core.c | 28 +++++++++++++++++++--------- drivers/nvme/host/multipath.c | 8 ++++---- drivers/nvme/host/pci.c | 5 +++++ drivers/nvme/host/tcp.c | 33 +++++++++++++++++++++++++++------ drivers/nvme/target/core.c | 4 +++- include/linux/blk-mq.h | 6 ++++++ include/linux/blkdev.h | 5 ++--- include/linux/nvme.h | 5 +++++ 19 files changed, 136 insertions(+), 80 deletions(-) -- Jens Axboe