command_status=-1 floppy1: floppy timeout called no cont in shutdown! floppy1: floppy_shutdown: timeout handler died. floppy1: FDC access conflict! general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 3 PID: 5192 Comm: kworker/u16:3 Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: floppy floppy_work_workfn RIP: 0010:start_motor+0x3a/0x3f0 drivers/block/floppy.c:1905 Code: 08 e8 da ab 60 fc 48 8b 1d 73 80 ea 0c 48 b8 00 00 00 00 00 fc ff df 0f b6 2d c2 6a ea 0c 48 89 da 48 c1 ea 03 89 e9 41 89 ed <0f> b6 04 02 83 e1 03 41 83 e5 03 84 c0 74 08 3c 03 0f 8e bc 02 00 RSP: 0018:ffffc90003e37ca0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff85239b06 RDI: ffffffff8523df60 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8523df60 R13: 0000000000000001 R14: ffff88801f02d700 R15: ffff888012a49000 FS: 0000000000000000(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f7378000 CR3: 00000000626c8000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: floppy_ready+0x87/0x1b60 drivers/block/floppy.c:1932 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:start_motor+0x3a/0x3f0 drivers/block/floppy.c:1905 Code: 08 e8 da ab 60 fc 48 8b 1d 73 80 ea 0c 48 b8 00 00 00 00 00 fc ff df 0f b6 2d c2 6a ea 0c 48 89 da 48 c1 ea 03 89 e9 41 89 ed <0f> b6 04 02 83 e1 03 41 83 e5 03 84 c0 74 08 3c 03 0f 8e bc 02 00 RSP: 0018:ffffc90003e37ca0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff85239b06 RDI: ffffffff8523df60 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8523df60 R13: 0000000000000001 R14: ffff88801f02d700 R15: ffff888012a49000 FS: 0000000000000000(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f7378000 CR3: 00000000626c8000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 e8 or %ch,%al 2: da ab 60 fc 48 8b fisubrl -0x74b703a0(%rbx) 8: 1d 73 80 ea 0c sbb $0xcea8073,%eax d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 0f b6 2d c2 6a ea 0c movzbl 0xcea6ac2(%rip),%ebp # 0xcea6ae0 1e: 48 89 da mov %rbx,%rdx 21: 48 c1 ea 03 shr $0x3,%rdx 25: 89 e9 mov %ebp,%ecx 27: 41 89 ed mov %ebp,%r13d * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 83 e1 03 and $0x3,%ecx 31: 41 83 e5 03 and $0x3,%r13d 35: 84 c0 test %al,%al 37: 74 08 je 0x41 39: 3c 03 cmp $0x3,%al 3b: 0f .byte 0xf 3c: 8e .byte 0x8e 3d: bc .byte 0xbc 3e: 02 00 add (%rax),%al