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: 0 PID: 14853 Comm: syz-executor4 Not tainted 4.18.0-rc2+ #44 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__hlist_del include/linux/list.h:649 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:440 [inline] RIP: 0010:bpf_tcp_close+0x7da/0xfa0 kernel/bpf/sockmap.c:271 Code: 48 c1 e9 03 80 3c 19 00 0f 85 b5 05 00 00 49 8b 4f 18 48 8b 85 98 fe ff ff 48 89 ce c6 00 00 48 c1 ee 03 48 89 95 d8 fe ff ff <80> 3c 1e 00 0f 85 d2 05 00 00 48 8b 85 98 fe ff ff 48 85 d2 48 89 RSP: 0018:ffff8801afb56f60 EFLAGS: 00010a02 RAX: ffffed0035f6adfb RBX: dffffc0000000000 RCX: dead000000000200 RDX: 0000000000000000 RSI: 1bd5a00000000040 RDI: ffff8801cd62e410 RBP: ffff8801afb57100 R08: ffffed0033226225 R09: ffffed0033226224 R10: ffffed0033226224 R11: ffff880199131123 R12: ffff8801c1adca80 R13: ffff8801b03218a0 R14: ffff8801c1adca98 R15: ffff8801cd62e400 FS: 00007ff819acc700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8680db2000 CR3: 000000019f68a000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 00000000200001c0 DR3: 00000000200001c0 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: inet_release+0x104/0x1f0 net/ipv4/af_inet.c:427 inet6_release+0x50/0x70 net/ipv6/af_inet6.c:459 __sock_release+0xd7/0x260 net/socket.c:603 sock_close+0x19/0x20 net/socket.c:1186 __fput+0x35b/0x8b0 fs/file_table.c:209 ____fput+0x15/0x20 fs/file_table.c:243 task_work_run+0x1ec/0x2a0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x1b08/0x2750 kernel/exit.c:865 do_group_exit+0x177/0x440 kernel/exit.c:968 get_signal+0x88e/0x1970 kernel/signal.c:2468 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2e0/0x370 arch/x86/entry/common.c:162 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:0x455ab9 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff819acbce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000072bec0 RCX: 0000000000455ab9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000072bec0 RBP: 000000000072bec0 R08: 0000000000000000 R09: 000000000072bea0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3a03ebff R14: 00007ff819acc9c0 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace e51962a7132d8f46 ]--- RIP: 0010:__hlist_del include/linux/list.h:649 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:440 [inline] RIP: 0010:bpf_tcp_close+0x7da/0xfa0 kernel/bpf/sockmap.c:271 Code: 48 c1 e9 03 80 3c 19 00 0f 85 b5 05 00 00 49 8b 4f 18 48 8b 85 98 fe ff ff 48 89 ce c6 00 00 48 c1 ee 03 48 89 95 d8 fe ff ff <80> 3c 1e 00 0f 85 d2 05 00 00 48 8b 85 98 fe ff ff 48 85 d2 48 89 RSP: 0018:ffff8801afb56f60 EFLAGS: 00010a02 RAX: ffffed0035f6adfb RBX: dffffc0000000000 RCX: dead000000000200 RDX: 0000000000000000 RSI: 1bd5a00000000040 RDI: ffff8801cd62e410 RBP: ffff8801afb57100 R08: ffffed0033226225 R09: ffffed0033226224 R10: ffffed0033226224 R11: ffff880199131123 R12: ffff8801c1adca80 R13: ffff8801b03218a0 R14: ffff8801c1adca98 R15: ffff8801cd62e400 FS: 00007ff819acc700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8680db2000 CR3: 000000019f68a000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 00000000200001c0 DR3: 00000000200001c0 DR6: 00000000fffe0ff0 DR7: 0000000000000600