------------[ cut here ]------------ WARNING: CPU: 2 PID: 3764 at drivers/block/floppy.c:1000 schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000 Modules linked in: CPU: 2 PID: 3764 Comm: kworker/u16:4 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: floppy floppy_work_workfn RIP: 0010:schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000 Code: f7 02 ef fc 48 89 2d 40 3a f3 0b 5b 48 c7 c2 40 96 6a 8c 48 8b 35 11 3f f3 0b bf 08 00 00 00 5d e9 a6 85 c3 fc e8 d1 02 ef fc <0f> 0b eb d1 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 bb 02 ef fc RSP: 0018:ffffc90000780dd0 EFLAGS: 00010046 RAX: 0000000080010000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88800b7c0140 RSI: ffffffff8487cebf RDI: 0000000000000003 RBP: ffffffff8487f3d0 R08: 0000000000000000 R09: ffffffff8c6a9647 R10: ffffffff8487ce8f R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff8487f3d0 R14: 0000000000000000 R15: ffff888010de5000 FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff6b5f3ff8 CR3: 000000001f5d4000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: floppy_interrupt+0x228/0x340 drivers/block/floppy.c:1766 floppy_hardint+0x1a7/0x200 arch/x86/include/asm/floppy.h:66 __handle_irq_event_percpu+0x303/0x8f0 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:198 [inline] handle_irq_event+0x102/0x280 kernel/irq/handle.c:215 handle_edge_irq+0x25f/0xd00 kernel/irq/chip.c:822 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0x9d/0x210 arch/x86/kernel/irq.c:250 common_interrupt+0xa4/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:629 RIP: 0010:outb_p arch/x86/include/asm/io.h:334 [inline] RIP: 0010:fdc_outb drivers/block/floppy.c:603 [inline] RIP: 0010:reset_fdc+0x181/0x400 drivers/block/floppy.c:1818 Code: ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 8a 01 00 00 48 8d 14 9b 48 8b 14 d5 50 0e 7b 90 83 c2 04 ee 4a fd ff ff 48 83 c4 08 5b 5d e9 7f 10 ef fc e8 7a 10 ef fc 48 RSP: 0018:ffffc90003defc58 EFLAGS: 00000202 RAX: 00000000ffffff83 RBX: 0000000000000000 RCX: 1ffffffff20f61ca RDX: 00000000000003f4 RSI: ffffffff8487c078 RDI: ffffffff907b0e50 RBP: 0000000000000062 R08: 0000000000000001 R09: 0000000000000062 R10: ffffffff8487c069 R11: 0000000000000044 R12: 00000000ffffffff R13: dffffc0000000000 R14: 0000000000000009 R15: 0000000000000000 setup_rw_floppy+0x2a3/0x9e0 drivers/block/floppy.c:1525 seek_floppy drivers/block/floppy.c:1639 [inline] floppy_ready drivers/block/floppy.c:1956 [inline] floppy_ready+0x345/0x1850 drivers/block/floppy.c:1927 recal_interrupt+0xd9/0x630 drivers/block/floppy.c:1698 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: ba 00 00 00 00 mov $0x0,%edx 5: 00 fc add %bh,%ah 7: ff (bad) 8: df 48 89 fisttps -0x77(%rax) b: f9 stc c: 48 c1 e9 03 shr $0x3,%rcx 10: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) 14: 0f 85 8a 01 00 00 jne 0x1a4 1a: 48 8d 14 9b lea (%rbx,%rbx,4),%rdx 1e: 48 8b 14 d5 50 0e 7b mov -0x6f84f1b0(,%rdx,8),%rdx 25: 90 26: 83 c2 04 add $0x4,%edx 29: ee out %al,(%dx) * 2a: e8 4a fd ff ff callq 0xfffffd79 <-- trapping instruction 2f: 48 83 c4 08 add $0x8,%rsp 33: 5b pop %rbx 34: 5d pop %rbp 35: e9 7f 10 ef fc jmpq 0xfcef10b9 3a: e8 7a 10 ef fc callq 0xfcef10b9 3f: 48 rex.W