------------[ cut here ]------------
WARNING: CPU: 3 PID: 1584 at drivers/block/floppy.c:1000 schedule_bh+0x5f/0x70 drivers/block/floppy.c:1000
Modules linked in:
CPU: 3 PID: 1584 Comm: kworker/u16:0 Not tainted 5.16.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: 07 1d fd fc 48 89 2d c0 72 ff 0b 5b 48 c7 c2 20 62 6a 8c 48 8b 35 91 77 ff 0b bf 08 00 00 00 5d e9 f6 a2 d1 fc e8 e1 1c fd fc <0f> 0b eb d1 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 cb 1c fd fc
RSP: 0018:ffffc900005b8dd0 EFLAGS: 00010046
RAX: 0000000080010000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888021651d00 RSI: ffffffff847a7ddf RDI: 0000000000000003
RBP: ffffffff847a72a0 R08: 0000000000000000 R09: ffffffff8c6a6227
R10: ffffffff847a7daf R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff847a72a0 R14: 0000000000000000 R15: ffff888010c75000
FS: 0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000ffb0766c CR3: 000000006b7c7000 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: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 f0 f5 79 90 44 89 e8 83 c2 05 ee e0 f4 ff ff 48 63 1d 29 78 ff 0b 48 83 fb 13 48 89 dd 0f 87 fb
RSP: 0018:ffffc9000059fc20 EFLAGS: 00000206
RAX: 00000000fffffff6 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 00000000000003f5 RSI: ffffffff847a7844 RDI: ffffffff9079f5f0
RBP: 0000000000000000 R08: 0000000000000080 R09: 0000000000000090
R10: ffffffff847a7836 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 f0 f5 79 mov -0x6f860a10(,%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 29 78 ff 0b movslq 0xbff7829(%rip),%rbx # 0xbff785a
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