general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 3 PID: 46 Comm: kworker/3:1 Not tainted 5.15.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: events netlink_sock_destruct_work RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:313 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 64 e9 83 fd 48 8d 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 <80> 3c 02 00 75 40 4c 8b 63 08 4d 85 e4 74 2e e8 3b e9 83 fd 31 f6 RSP: 0000:ffffc900006c7bf8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff83f3dabc RDI: 0000000000000000 RBP: 0000000000000008 R08: 0000000000000000 R09: ffffc900006c7b6f R10: fffff520000d8f6d R11: 0000000000000000 R12: ffff88802554a590 R13: 0000000000000000 R14: ffff88801f05b9a0 R15: ffff88802cd39280 FS: 0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000073834a CR3: 000000001b5da000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nfc_genl_dump_ses_done+0x31/0x50 include/linux/slab.h:591 genl_lock_done+0x8d/0x100 net/netlink/genetlink.c:628 netlink_sock_destruct+0x96/0x2b0 net/netlink/af_netlink.c:398 __sk_destruct+0x4b/0x900 net/core/sock.c:2012 sk_destruct+0xbd/0xe0 net/core/sock.c:2057 __sk_free+0xef/0x3d0 net/core/sock.c:2068 sk_free+0x78/0xa0 net/core/sock.c:2079 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 23a25e9edfecddcd ]--- RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:313 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 64 e9 83 fd 48 8d 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 <80> 3c 02 00 75 40 4c 8b 63 08 4d 85 e4 74 2e e8 3b e9 83 fd 31 f6 RSP: 0000:ffffc900006c7bf8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff83f3dabc RDI: 0000000000000000 RBP: 0000000000000008 R08: 0000000000000000 R09: ffffc900006c7b6f R10: fffff520000d8f6d R11: 0000000000000000 R12: ffff88802554a590 R13: 0000000000000000 R14: ffff88801f05b9a0 R15: ffff88802cd39280 FS: 0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000073834a CR3: 000000001b5da000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 7: 00 00 9: 41 54 push %r12 b: 55 push %rbp c: 53 push %rbx d: 48 89 fb mov %rdi,%rbx 10: e8 64 e9 83 fd callq 0xfd83e979 15: 48 8d 6b 08 lea 0x8(%rbx),%rbp 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 ea mov %rbp,%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: 4c 8b 63 08 mov 0x8(%rbx),%r12 34: 4d 85 e4 test %r12,%r12 37: 74 2e je 0x67 39: e8 3b e9 83 fd callq 0xfd83e979 3e: 31 f6 xor %esi,%esi