last redo_fd_request at 4295115658 status=80 fdc_busy=0 cont=0000000000000000 current_req=0000000000000000 command_status=-1 general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 2 PID: 10036 Comm: kworker/u16:6 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:reset_interrupt.cold+0x3d/0x88 drivers/block/floppy.c:1790 Code: e8 cf f9 ff ff e9 99 cd 64 fb e8 f1 20 61 f8 48 8b 1d 0a 0d 65 07 b8 ff ff 37 00 48 c1 e0 2a 48 8d 7b 10 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 3e 48 8b 73 10 48 c7 c7 c0 88 1e 8a e8 69 3c eb ff RSP: 0000:ffffc90000867d10 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff8915b1ef RDI: 0000000000000010 RBP: ffffffff8c6a41e0 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff847a7fe6 R11: 0000000000000000 R12: ffffc90000867db0 R13: ffffffff8c6a41f0 R14: ffff888012bba800 R15: ffff888010c75800 FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000094e988 CR3: 000000000b88e000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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 Modules linked in: ---[ end trace 4165ad23b7a78289 ]--- RIP: 0010:reset_interrupt.cold+0x3d/0x88 drivers/block/floppy.c:1790 Code: e8 cf f9 ff ff e9 99 cd 64 fb e8 f1 20 61 f8 48 8b 1d 0a 0d 65 07 b8 ff ff 37 00 48 c1 e0 2a 48 8d 7b 10 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 3e 48 8b 73 10 48 c7 c7 c0 88 1e 8a e8 69 3c eb ff RSP: 0000:ffffc90000867d10 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff8915b1ef RDI: 0000000000000010 RBP: ffffffff8c6a41e0 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff847a7fe6 R11: 0000000000000000 R12: ffffc90000867db0 R13: ffffffff8c6a41f0 R14: ffff888012bba800 R15: ffff888010c75800 FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000094e988 CR3: 000000000b88e000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 cf f9 ff ff callq 0xfffff9d4 5: e9 99 cd 64 fb jmpq 0xfb64cda3 a: e8 f1 20 61 f8 callq 0xf8612100 f: 48 8b 1d 0a 0d 65 07 mov 0x7650d0a(%rip),%rbx # 0x7650d20 16: b8 ff ff 37 00 mov $0x37ffff,%eax 1b: 48 c1 e0 2a shl $0x2a,%rax 1f: 48 8d 7b 10 lea 0x10(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 3e jne 0x6e 30: 48 8b 73 10 mov 0x10(%rbx),%rsi 34: 48 c7 c7 c0 88 1e 8a mov $0xffffffff8a1e88c0,%rdi 3b: e8 69 3c eb ff callq 0xffeb3ca9