kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 13215 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:314 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 69 74 f9 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 0b 69 74 f9 31 f6 nla_parse: 12 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. RSP: 0018:ffff8882287e7600 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90006006000 RDX: 0000000000000001 RSI: ffffffff87ee1c3c RDI: 0000000000000000 RBP: 0000000000000008 R08: 0000000000000000 R09: fffffbfff15cf8ac R10: ffffffff8ae7c567 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff896f11a0 R14: 0000000000000000 R15: ffff88809ccbe280 netlink: 2288 bytes leftover after parsing attributes in process `syz-executor.1'. FS: 00007fd95120d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555931708 CR3: 000000022e389000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nfc_device_iter_exit net/nfc/nfc.h:133 [inline] nfc_genl_dump_devices_done+0x31/0x50 net/nfc/netlink.c:658 genl_lock_done+0x82/0xc0 net/netlink/genetlink.c:495 netlink_dump+0x918/0xc10 net/netlink/af_netlink.c:2271 __netlink_dump_start+0x4e9/0x6f0 net/netlink/af_netlink.c:2338 genl_family_rcv_msg+0xa76/0xc40 net/netlink/genetlink.c:550 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fd952c9b0f9 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:00007fd95120d168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd952dbaf80 RCX: 00007fd952c9b0f9 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000004 RBP: 00007fd95120d1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff213af3ff R14: 00007fd95120d300 R15: 0000000000022000 Modules linked in: ---[ end trace 631e7c5eb74d6523 ]--- RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:314 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 69 74 f9 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 0b 69 74 f9 31 f6 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. RSP: 0018:ffff8882287e7600 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90006006000 RDX: 0000000000000001 RSI: ffffffff87ee1c3c RDI: 0000000000000000 netlink: 2288 bytes leftover after parsing attributes in process `syz-executor.1'. RBP: 0000000000000008 R08: 0000000000000000 R09: fffffbfff15cf8ac audit: type=1800 audit(1677474504.990:1301): pid=13272 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16789 res=0 R10: ffffffff8ae7c567 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff896f11a0 R14: 0000000000000000 R15: ffff88809ccbe280 FS: 00007fd95120d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c037d07c4c CR3: 000000022e389000 CR4: 00000000003406f0 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 34 69 74 f9 callq 0xf9746949 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 0b 69 74 f9 callq 0xf9746949 3e: 31 f6 xor %esi,%esi