kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN CPU: 1 PID: 648 Comm: syz-executor3 Not tainted 4.18.0+ #190 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__hlist_del include/linux/list.h:679 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline] RIP: 0010:bpf_tcp_close+0x943/0x1050 kernel/bpf/sockmap.c:373 Code: cc 05 00 00 48 8d 95 18 ff ff ff 49 8b 4c 24 18 48 89 d6 48 c1 ee 03 42 c6 04 36 00 48 89 ce 48 c1 ee 03 48 89 85 18 ff ff ff <42> 80 3c 36 00 0f 85 55 06 00 00 48 c1 ea 03 48 85 c0 48 89 01 48 RSP: 0018:ffff88019b357998 EFLAGS: 00010a02 RAX: 0000000000000000 RBX: ffff8801b2e25a80 RCX: dead000000000200 RDX: ffff88019b357a50 RSI: 1bd5a00000000040 RDI: ffff8801cfd570d0 RBP: ffff88019b357b38 R08: ffff8801ca88e100 R09: ffffed0038913679 R10: ffffed0038913679 R11: ffff8801c489b3cb R12: ffff8801cfd570c0 R13: ffff8801acca30c0 R14: dffffc0000000000 R15: ffff8801cfd570d8 FS: 0000000002105940(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3fef314db8 CR3: 00000001ca2ae000 CR4: 00000000001406e0 Call Trace: inet_release+0x104/0x1f0 net/ipv4/af_inet.c:428 inet6_release+0x50/0x70 net/ipv6/af_inet6.c:457 __sock_release+0xd7/0x250 net/socket.c:579 sock_close+0x19/0x20 net/socket.c:1139 __fput+0x39b/0x860 fs/file_table.c:251 ____fput+0x15/0x20 fs/file_table.c:282 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x410c41 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffd6eff2dd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000410c41 RDX: 0000000000000001 RSI: 0000000000730808 RDI: 0000000000000003 RBP: 0000000000000000 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffd6eff2d00 R11: 0000000000000293 R12: 000000000000000e R13: 0000000000057567 R14: 000000000000029e R15: badc0ffeebadface Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace 5461ec3ef99a775f ]--- RIP: 0010:__hlist_del include/linux/list.h:679 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline] RIP: 0010:bpf_tcp_close+0x943/0x1050 kernel/bpf/sockmap.c:373 Code: cc 05 00 00 48 8d 95 18 ff ff ff 49 8b 4c 24 18 48 89 d6 48 c1 ee 03 42 c6 04 36 00 48 89 ce 48 c1 ee 03 48 89 85 18 ff ff ff <42> 80 3c 36 00 0f 85 55 06 00 00 48 c1 ea 03 48 85 c0 48 89 01 48 RSP: 0018:ffff88019b357998 EFLAGS: 00010a02 RAX: 0000000000000000 RBX: ffff8801b2e25a80 RCX: dead000000000200 RDX: ffff88019b357a50 RSI: 1bd5a00000000040 RDI: ffff8801cfd570d0 RBP: ffff88019b357b38 R08: ffff8801ca88e100 R09: ffffed0038913679 R10: ffffed0038913679 R11: ffff8801c489b3cb R12: ffff8801cfd570c0 R13: ffff8801acca30c0 R14: dffffc0000000000 R15: ffff8801cfd570d8 FS: 0000000002105940(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3fef314db8 CR3: 00000001ca2ae000 CR4: 00000000001406e0