------------[ cut here ]------------ WARNING: CPU: 2 PID: 30517 at drivers/block/floppy.c:1000 schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000 Modules linked in: CPU: 2 PID: 30517 Comm: kworker/u16:1 Not tainted 5.16.0-rc2-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 7d fc fc 48 89 2d 70 63 00 0c 5b 48 c7 c2 e0 41 6a 8c 48 8b 35 41 68 00 0c bf 08 00 00 00 5d e9 26 00 d1 fc e8 51 7d fc fc <0f> 0b eb d1 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 3b 7d fc fc RSP: 0018:ffffc90000780dd0 EFLAGS: 00010046 RAX: 0000000080010000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880193801c0 RSI: ffffffff847a558f RDI: 0000000000000003 RBP: ffffffff847a4a50 R08: 0000000000000000 R09: ffffffff8c6a41e7 R10: ffffffff847a555f R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff847a4a50 R14: 0000000000000000 R15: ffff888010de5000 FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fadb09ae000 CR3: 000000005e49e000 CR4: 0000000000150ee0 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:output_byte+0x9b/0x300 drivers/block/floppy.c:1143 Code: 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 f8 01 00 00 48 8d 04 9b 48 8b 14 c5 50 be 7a 90 44 89 e8 83 c2 05 ee e0 f4 ff ff 48 63 1d d9 68 00 0c 48 83 fb 13 48 89 dd 0f 87 fb RSP: 0018:ffffc90005b2fc20 EFLAGS: 00000206 RAX: 00000000fffffff6 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 00000000000003f5 RSI: ffffffff847a4ff4 RDI: ffffffff907abe50 RBP: 0000000000000000 R08: 0000000000000080 R09: 0000000000000090 R10: ffffffff847a4fe6 R11: 0000000000000000 R12: 0000000000000090 R13: 00000000fffffff6 R14: 0000000000000005 R15: 0000000000000008 setup_rw_floppy+0x16a/0x9e0 drivers/block/floppy.c:1519 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 redo_format+0x541/0x680 drivers/block/floppy.c:2215 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), 5 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 f8 01 00 00 jne 0x20a 12: 48 8d 04 9b lea (%rbx,%rbx,4),%rax 16: 48 8b 14 c5 50 be 7a mov -0x6f8541b0(,%rax,8),%rdx 1d: 90 1e: 44 89 e8 mov %r13d,%eax 21: 83 c2 05 add $0x5,%edx 24: ee out %al,(%dx) * 25: e8 e0 f4 ff ff callq 0xfffff50a <-- trapping instruction 2a: 48 63 1d d9 68 00 0c movslq 0xc0068d9(%rip),%rbx # 0xc00690a 31: 48 83 fb 13 cmp $0x13,%rbx 35: 48 89 dd mov %rbx,%rbp 38: 0f .byte 0xf 39: 87 fb xchg %edi,%ebx