------------[ cut here ]------------ WARNING: CPU: 3 PID: 27159 at drivers/block/floppy.c:1000 schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000 Modules linked in: CPU: 3 PID: 27159 Comm: syz-executor.2 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000 Code: 57 7e fc fc 48 89 2d 50 64 00 0c 5b 48 c7 c2 a0 40 6a 8c 48 8b 35 21 69 00 0c bf 08 00 00 00 5d e9 06 01 d1 fc e8 31 7e fc fc <0f> 0b eb d1 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 1b 7e fc fc RSP: 0018:ffffc90002a77b28 EFLAGS: 00010216 RAX: 0000000000008573 RBX: 0000000000000001 RCX: ffffc90027332000 RDX: 0000000000040000 RSI: ffffffff847a54af RDI: 0000000000000003 RBP: ffffffff847b3240 R08: 0000000000000000 R09: ffffffff8c6a40a7 R10: ffffffff847a547f R11: 0000000000000000 R12: ffffffff847b3240 R13: 0000000000000001 R14: 0000000000000003 R15: 0000000000000000 FS: 00007f3f8b9db700(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8e5bcf000 CR3: 000000006c3e7000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wait_til_done+0x7b/0x370 drivers/block/floppy.c:2019 get_floppy_geometry+0x9c/0x190 drivers/block/floppy.c:3322 fd_locked_ioctl+0x160b/0x2820 drivers/block/floppy.c:3444 fd_ioctl+0x35/0x50 drivers/block/floppy.c:3555 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3f8e465ae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3f8b9db188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3f8e578f60 RCX: 00007f3f8e465ae9 RDX: 0000000020000040 RSI: 0000000080200204 RDI: 0000000000000003 RBP: 00007f3f8e4bff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeddc5b84f R14: 00007f3f8b9db300 R15: 0000000000022000