------------[ cut here ]------------ WARNING: CPU: 2 PID: 3194 at drivers/block/floppy.c:1000 schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000 Modules linked in: CPU: 2 PID: 3194 Comm: kworker/u16:1 Not tainted 5.16.0-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: 77 02 fc fc 48 89 2d 80 5e 00 0c 5b 48 c7 c2 40 6a 6a 8c 48 8b 35 51 63 00 0c bf 08 00 00 00 5d e9 86 87 d0 fc e8 51 02 fc fc <0f> 0b eb d1 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 3b 02 fc fc RSP: 0000:ffffc90000780dd0 EFLAGS: 00010046 RAX: 0000000080010000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88801d282080 RSI: ffffffff847acbbf RDI: 0000000000000003 RBP: ffffffff847af0d0 R08: 0000000000000000 R09: ffffffff8c6a6a47 R10: ffffffff847acb8f R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff847af0d0 R14: 0000000000000000 R15: ffff888010de5000 FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f635e9511b8 CR3: 0000000068914000 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:320 [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 90 2f 7b 90 83 c2 04 ee 4a fd ff ff 48 83 c4 08 5b 5d e9 ff 0f fc fc e8 fa 0f fc fc 48 RSP: 0000:ffffc900029a7cc0 EFLAGS: 00000202 RAX: 00000000ffffff81 RBX: 0000000000000000 RCX: 1ffffffff20f65f2 RDX: 00000000000003f4 RSI: ffffffff847abd78 RDI: ffffffff907b2f90 RBP: 0000000000000062 R08: 0000000000000001 R09: 0000000000000062 R10: ffffffff847abd69 R11: 0000000000000044 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff907b2f88 R15: 0000000000000001 floppy_ready+0x3f7/0x1850 drivers/block/floppy.c:1930 process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298 worker_thread+0x65d/0x1130 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 90 2f 7b mov -0x6f84d070(,%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 ff 0f fc fc jmpq 0xfcfc1039 3a: e8 fa 0f fc fc callq 0xfcfc1039 3f: 48 rex.W