------------[ cut here ]------------
WARNING: CPU: 2 PID: 5814 at drivers/block/floppy.c:1000 schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000
Modules linked in:
CPU: 2 PID: 5814 Comm: kworker/u16:0 Not tainted 5.16.0-rc4-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 7c fc fc 48 89 2d a0 70 00 0c 5b 48 c7 c2 00 42 6a 8c 48 8b 35 71 75 00 0c bf 08 00 00 00 5d e9 a6 fd d0 fc e8 51 7c fc fc <0f> 0b eb d1 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 3b 7c fc fc
RSP: 0018:ffffc90000780dd0 EFLAGS: 00010046
RAX: 0000000080010000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff8880263a6080 RSI: ffffffff847a681f RDI: 0000000000000003
RBP: ffffffff847a8d30 R08: 0000000000000000 R09: ffffffff8c6a4207
R10: ffffffff847a67ef R11: 0000000000000001 R12: 0000000000000001
R13: ffffffff847a8d30 R14: 0000000000000000 R15: ffff888010de5000
FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe30fa331b8 CR3: 000000000b88e000 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 10 de 7a 90 83 c2 04 ee 4a fd ff ff 48 83 c4 08 5b 5d e9 ff 89 fc fc e8 fa 89 fc fc 48
RSP: 0018:ffffc90002c9fc70 EFLAGS: 00000202
RAX: 00000000ffffff81 RBX: 0000000000000000 RCX: 1ffffffff20f5bc2
RDX: 00000000000003f4 RSI: ffffffff847a59d8 RDI: ffffffff907ade10
RBP: 0000000000000062 R08: 0000000000000001 R09: 0000000000000062
R10: ffffffff847a59c9 R11: 0000000000000044 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000200 R15: 0000ffff88800011
floppy_ready+0x3f7/0x1850 drivers/block/floppy.c:1930
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):
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 10 de 7a mov -0x6f8521f0(,%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 89 fc fc jmpq 0xfcfc8a39
3a: e8 fa 89 fc fc callq 0xfcfc8a39
3f: 48 rex.W