general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 416 Comm: kworker/1:4 Not tainted 5.10.84-syzkaller-00439-ge2aed161fc26 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events netlink_sock_destruct_work RIP: 0010:klist_iter_exit+0x2b/0x100 lib/klist.c:313 Code: 48 89 e5 41 57 41 56 41 55 41 54 53 50 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 d0 80 fa fe 49 83 c7 08 4d 89 fd 49 c1 ed 03 <43> 80 7c 25 00 00 74 08 4c 89 ff e8 45 55 34 ff 4d 8b 37 4d 85 f6 RSP: 0018:ffffc9000622fba0 EFLAGS: 00010202 RAX: ffffffff82725da0 RBX: 0000000000000000 RCX: ffff8881067de2c0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffffc9000622fbd0 R08: dffffc0000000000 R09: fffff52000c45f71 R10: fffff52000c45f71 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000001 R14: ffff88811ceae398 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd57dedf18 CR3: 000000014d4e9000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: class_dev_iter_exit+0x15/0x20 drivers/base/class.c:330 nfc_device_iter_exit net/nfc/nfc.h:121 [inline] nfc_genl_dump_devices_done+0x3b/0x50 net/nfc/netlink.c:639 genl_lock_done+0x84/0xd0 net/netlink/genetlink.c:636 netlink_sock_destruct+0x7d/0x250 net/netlink/af_netlink.c:390 __sk_destruct+0x56/0x480 net/core/sock.c:1790 sk_destruct net/core/sock.c:1835 [inline] __sk_free+0x36a/0x470 net/core/sock.c:1846 sk_free+0x51/0x90 net/core/sock.c:1857 netlink_sock_destruct_work+0x1c/0x20 net/netlink/af_netlink.c:412 process_one_work+0x6b4/0xfb0 kernel/workqueue.c:2289 worker_thread+0xb15/0x1600 kernel/workqueue.c:2435 kthread+0x371/0x390 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace dacbedf357cd9a55 ]--- RIP: 0010:klist_iter_exit+0x2b/0x100 lib/klist.c:313 Code: 48 89 e5 41 57 41 56 41 55 41 54 53 50 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 d0 80 fa fe 49 83 c7 08 4d 89 fd 49 c1 ed 03 <43> 80 7c 25 00 00 74 08 4c 89 ff e8 45 55 34 ff 4d 8b 37 4d 85 f6 RSP: 0018:ffffc9000622fba0 EFLAGS: 00010202 RAX: ffffffff82725da0 RBX: 0000000000000000 RCX: ffff8881067de2c0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffffc9000622fbd0 R08: dffffc0000000000 R09: fffff52000c45f71 R10: fffff52000c45f71 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000001 R14: ffff88811ceae398 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002020b180 CR3: 000000014c6c4000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 e5 mov %rsp,%rbp 3: 41 57 push %r15 5: 41 56 push %r14 7: 41 55 push %r13 9: 41 54 push %r12 b: 53 push %rbx c: 50 push %rax d: 49 89 ff mov %rdi,%r15 10: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 17: fc ff df 1a: e8 d0 80 fa fe callq 0xfefa80ef 1f: 49 83 c7 08 add $0x8,%r15 23: 4d 89 fd mov %r15,%r13 26: 49 c1 ed 03 shr $0x3,%r13 * 2a: 43 80 7c 25 00 00 cmpb $0x0,0x0(%r13,%r12,1) <-- trapping instruction 30: 74 08 je 0x3a 32: 4c 89 ff mov %r15,%rdi 35: e8 45 55 34 ff callq 0xff34557f 3a: 4d 8b 37 mov (%r15),%r14 3d: 4d 85 f6 test %r14,%r14