------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 226 at lib/refcount.c:28 refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 Modules linked in: CPU: 0 PID: 226 Comm: kworker/0:1H Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: kblockd blk_mq_run_work_fn pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 lr : refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 sp : ffff80001f0b7590 x29: ffff80001f0b7590 x28: fffffbffeffd1d00 x27: 1fffe0001987c703 x26: 1fffe0001987c703 x25: 0000000000000000 x24: 0000000000000001 x23: dfff800000000000 x22: fffffbffeffd1dc8 x21: 0000000000000003 x20: ffff0000cc3e38e8 x19: ffff800016f0c000 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011ac23e0 x15: 00000000ffffffff x14: ffff0000c6820000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : a7861871209f4200 x8 : a7861871209f4200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001f0b6cf8 x4 : ffff800014b9fae0 x3 : ffff800008557c4c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 __refcount_sub_and_test include/linux/refcount.h:283 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] blk_mq_free_request+0x440/0x584 block/blk-mq.c:543 __blk_mq_end_request+0x318/0x350 block/blk-mq.c:568 blk_mq_end_request block/blk-mq.c:577 [inline] blk_mq_dispatch_rq_list+0x9c8/0x14ac block/blk-mq.c:1408 __blk_mq_do_dispatch_sched block/blk-mq-sched.c:200 [inline] blk_mq_do_dispatch_sched+0x8b4/0x9f4 block/blk-mq-sched.c:214 __blk_mq_sched_dispatch_requests+0x310/0x420 blk_mq_sched_dispatch_requests+0xbc/0x138 block/blk-mq-sched.c:366 __blk_mq_run_hw_queue block/blk-mq.c:1511 [inline] blk_mq_run_work_fn+0x150/0x208 block/blk-mq.c:1842 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 56040 hardirqs last enabled at (56039): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (56040): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (56010): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (56010): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (55541): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (55541): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (55541): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (55541): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 501afd60825cd4fd ]--- blk_update_request: I/O error, dev nbd3, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Buffer I/O error on dev nbd3, logical block 0, async page read