On Sun, Sep 07, 2025 at 02:48:27PM +0000, Heorhi Valakhanovich wrote: > Kernel version 6.16.4 and later. > > Usb3 thumb drive surprise removal triggers an oops in blk_mq_free_map_and_rqs. > Block IO is limping afterwards and often system is unusable. > > > Bisected to: > > commit f9a9098ca82612006b9c71ce03b8fe189a437370 (HEAD) > Author: Ming Lei <ming.lei@xxxxxxxxxx> > Date: Fri Aug 15 21:17:37 2025 +0800 > > blk-mq: fix lockdep warning in __blk_mq_update_nr_hw_queues > > [ Upstream commit 2d82f3bd8910eb65e30bb2a3c9b945bfb3b6d661 ] No, that is not true, because scsi/usb does not call into blk_mq_update_nr_hw_queues(). > > > relevant kernel log: > > Sep 07 17:19:26: BUG: kernel NULL pointer dereference, address: 0000000000000020 > Sep 07 17:19:26: #PF: supervisor read access in kernel mode > Sep 07 17:19:26: #PF: error_code(0x0000) - not-present page > Sep 07 17:19:26: PGD 0 P4D 0 Please try the following fix: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?h=for-6.18/block&id=ba28afbd9eff2a6370f23ef4e6a036ab0cfda409 Thanks, Ming