------------[ cut here ]------------ statistics for priority 1: i 133 m 0 d 133 c 158 WARNING: CPU: 1 PID: 6040 at block/mq-deadline.c:559 dd_exit_sched+0x233/0x2f0 block/mq-deadline.c:559 Modules linked in: CPU: 1 UID: 0 PID: 6040 Comm: kworker/u8:7 Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: nbd-del nbd_dev_remove_work RIP: 0010:dd_exit_sched+0x233/0x2f0 block/mq-deadline.c:559 Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 76 8b 55 30 89 de 48 c7 c7 40 5f d0 8b e8 0e d6 cf fc 90 <0f> 0b 90 90 e9 b9 fe ff ff e8 2f 2e 0f fd 90 0f 0b 90 e9 7a fe ff RSP: 0018:ffffc9000361fac0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff814e8a49 RDX: ffff888021ff2440 RSI: ffffffff814e8a56 RDI: 0000000000000001 RBP: ffff888025ec0c80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888025ec0c00 R13: dffffc0000000000 R14: ffff888025ec0d48 R15: ffff888025ec0cbc FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5788937bac CR3: 0000000082392000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_mq_exit_sched+0x227/0x310 block/blk-mq-sched.c:547 elevator_exit+0x58/0x80 block/elevator.c:159 del_gendisk+0x563/0xb20 block/genhd.c:735 nbd_dev_remove+0x3b/0xe0 drivers/block/nbd.c:264 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244