------------[ cut here ]------------
WARNING: CPU: 2 PID: 480 at drivers/block/floppy.c:1000 schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000
Modules linked in:
CPU: 2 PID: 480 Comm: kworker/u16:6 Not tainted 5.17.0-rc3-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 d3 fc fc 48 89 2d 30 e8 04 0c 5b 48 c7 c2 20 b0 6a 8c 48 8b 35 01 ed 04 0c bf 08 00 00 00 5d e9 06 03 d1 fc e8 51 d3 fc fc <0f> 0b eb d1 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 3b d3 fc fc
RSP: 0018:ffffc90000780e40 EFLAGS: 00010046
RAX: 0000000080010000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888025a72140 RSI: ffffffff847adaef RDI: 0000000000000003
RBP: ffffffff847b0040 R08: 0000000000000000 R09: ffffffff8c6ab027
R10: ffffffff847adabf R11: 0000000000000001 R12: 0000000000000001
R13: ffffffff847b0040 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33223000 CR3: 000000001624f000 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+0x22b/0x880 kernel/irq/handle.c:158
handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
handle_irq_event+0xa7/0x1e0 kernel/irq/handle.c:210
handle_edge_irq+0x25f/0xd00 kernel/irq/chip.c:820
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 70 c8 7f 90 83 c2 04 ee 0a fd ff ff 48 83 c4 08 5b 5d e9 bf e0 fc fc e8 ba e0 fc fc 48
RSP: 0018:ffffc9002425fc80 EFLAGS: 00000202
RAX: 00000000ffffff80 RBX: 0000000000000000 RCX: 1ffffffff20ff90e
RDX: 00000000000003f4 RSI: ffffffff847acce8 RDI: ffffffff907fc870
RBP: 0000000000000062 R08: 0000000000000001 R09: 0000000000000062
R10: ffffffff847accd9 R11: 0000000000000044 R12: 00000000ffffffff
R13: dffffc0000000000 R14: 0000000000000008 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
process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307
worker_thread+0x657/0x1110 kernel/workqueue.c:2454
kthread+0x2e9/0x3a0 kernel/kthread.c:377
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 70 c8 7f mov -0x6f803790(,%rdx,8),%rdx
25: 90
26: 83 c2 04 add $0x4,%edx
29: ee out %al,(%dx)
* 2a: e8 0a fd ff ff callq 0xfffffd39 <-- trapping instruction
2f: 48 83 c4 08 add $0x8,%rsp
33: 5b pop %rbx
34: 5d pop %rbp
35: e9 bf e0 fc fc jmpq 0xfcfce0f9
3a: e8 ba e0 fc fc callq 0xfcfce0f9
3f: 48 rex.W