general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 2 PID: 15225 Comm: kworker/u16:6 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:reset_interrupt+0xef/0x140 drivers/block/floppy.c:1793 Code: fc 84 db 0f 85 f5 4c 9b 04 e8 6d f6 fc fc 48 8b 1d 46 42 ff 0b 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 40 48 8b 43 08 5b ff e0 e8 7f b7 43 fd eb a8 e8 78 RSP: 0018:ffffc9000d117d10 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff847ab453 RDI: 0000000000000008 RBP: ffffffff8c6a60e0 R08: 0000000000000080 R09: 0000000000000000 R10: ffffffff847ab446 R11: 0000000000000000 R12: ffffc9000d117db0 R13: ffffffff8c6a60f0 R14: ffff88804aa98e00 R15: ffff888010c71800 FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000033523000 CR3: 0000000020767000 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 c0fa80099ad70d6b ]--- RIP: 0010:reset_interrupt+0xef/0x140 drivers/block/floppy.c:1793 Code: fc 84 db 0f 85 f5 4c 9b 04 e8 6d f6 fc fc 48 8b 1d 46 42 ff 0b 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 40 48 8b 43 08 5b ff e0 e8 7f b7 43 fd eb a8 e8 78 RSP: 0018:ffffc9000d117d10 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff847ab453 RDI: 0000000000000008 RBP: ffffffff8c6a60e0 R08: 0000000000000080 R09: 0000000000000000 R10: ffffffff847ab446 R11: 0000000000000000 R12: ffffc9000d117db0 R13: ffffffff8c6a60f0 R14: ffff88804aa98e00 R15: ffff888010c71800 FS: 0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f4450db0 CR3: 0000000078268000 CR4: 0000000000150ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fc cld 1: 84 db test %bl,%bl 3: 0f 85 f5 4c 9b 04 jne 0x49b4cfe 9: e8 6d f6 fc fc callq 0xfcfcf67b e: 48 8b 1d 46 42 ff 0b mov 0xbff4246(%rip),%rbx # 0xbff425b 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 8d 7b 08 lea 0x8(%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 40 jne 0x70 30: 48 8b 43 08 mov 0x8(%rbx),%rax 34: 5b pop %rbx 35: ff e0 jmpq *%rax 37: e8 7f b7 43 fd callq 0xfd43b7bb 3c: eb a8 jmp 0xffffffe6 3e: e8 .byte 0xe8 3f: 78 .byte 0x78