general protection fault, probably for non-canonical address 0xfbd59c0000000022: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xdead000000000110-0xdead000000000117] CPU: 1 PID: 5899 Comm: syz-executor.2 Not tainted 6.3.0-rc3-syzkaller-00338-gda8e7da11e4b #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:nfc_llcp_find_local+0x60/0xe0 net/nfc/llcp_core.c:287 Code: e8 03 80 3c 18 00 0f 85 85 00 00 00 4d 8b 24 24 49 81 fc a0 24 58 8e 74 2b e8 ec 96 af f7 49 8d 7c 24 10 48 89 f8 48 c1 e8 03 <80> 3c 18 00 75 5a 49 39 6c 24 10 75 bf e8 ce 96 af f7 4c 89 e0 5b RSP: 0018:ffffc9000966fb60 EFLAGS: 00010a06 RAX: 1bd5a00000000022 RBX: dffffc0000000000 RCX: ffffc90008001000 RDX: 0000000000040000 RSI: ffffffff89d26e74 RDI: dead000000000110 RBP: ffff888024e4a000 R08: 0000000000000001 R09: ffffc9000966faf7 R10: fffff520012cdf5e R11: 0000000000094001 R12: dead000000000100 R13: ffff888024e4a098 R14: ffff888023985000 R15: ffff888024e4a5f0 FS: 00007f6237bb7700(0000) GS:ffff88802ca80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000024a30000 CR4: 0000000000152ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nfc_llcp_unregister_device+0x1a/0x260 net/nfc/llcp_core.c:1611 nfc_unregister_device+0x196/0x330 net/nfc/core.c:1179 virtual_ncidev_close+0x52/0xb0 drivers/nfc/virtual_ncidev.c:163 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 get_signal+0x1c7/0x25b0 kernel/signal.c:2635 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6236e8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6237bb7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffff2 RBX: 00007f6236fabf80 RCX: 00007f6236e8c0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f6236ee7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8111979f R14: 00007f6237bb7300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nfc_llcp_find_local+0x60/0xe0 net/nfc/llcp_core.c:287 Code: e8 03 80 3c 18 00 0f 85 85 00 00 00 4d 8b 24 24 49 81 fc a0 24 58 8e 74 2b e8 ec 96 af f7 49 8d 7c 24 10 48 89 f8 48 c1 e8 03 <80> 3c 18 00 75 5a 49 39 6c 24 10 75 bf e8 ce 96 af f7 4c 89 e0 5b RSP: 0018:ffffc9000966fb60 EFLAGS: 00010a06 RAX: 1bd5a00000000022 RBX: dffffc0000000000 RCX: ffffc90008001000 RDX: 0000000000040000 RSI: ffffffff89d26e74 RDI: dead000000000110 RBP: ffff888024e4a000 R08: 0000000000000001 R09: ffffc9000966faf7 R10: fffff520012cdf5e R11: 0000000000094001 R12: dead000000000100 R13: ffff888024e4a098 R14: ffff888023985000 R15: ffff888024e4a5f0 FS: 00007f6237bb7700(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a99dab200 CR3: 0000000024a30000 CR4: 0000000000152ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 03 80 3c 18 callq 0x183c8008 5: 00 0f add %cl,(%rdi) 7: 85 85 00 00 00 4d test %eax,0x4d000000(%rbp) d: 8b 24 24 mov (%rsp),%esp 10: 49 81 fc a0 24 58 8e cmp $0xffffffff8e5824a0,%r12 17: 74 2b je 0x44 19: e8 ec 96 af f7 callq 0xf7af970a 1e: 49 8d 7c 24 10 lea 0x10(%r12),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 75 5a jne 0x8a 30: 49 39 6c 24 10 cmp %rbp,0x10(%r12) 35: 75 bf jne 0xfffffff6 37: e8 ce 96 af f7 callq 0xf7af970a 3c: 4c 89 e0 mov %r12,%rax 3f: 5b pop %rbx