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: 1 PID: 24591 Comm: syz-executor.0 Not tainted 4.18.0-rc2+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__write_once_size /./include/linux/compiler.h:215 [inline] 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+0x58e/0xbb0 /kernel/bpf/sockmap.c:271 Code: 85 5d 04 00 00 4c 8d 48 18 48 8b 48 10 4c 89 ce 48 c1 ee 03 42 80 3c 3e 00 0f 85 1e 04 00 00 48 8b 70 18 48 89 f7 48 c1 ef 03 <42> 80 3c 3f 00 0f 85 66 04 00 00 48 85 c9 48 89 0e 74 1a 48 8d 79 RSP: 0018:ffff880085dc7cd0 EFLAGS: 00010a02 RAX: ffff88009783b0c0 RBX: ffff8800a1b82200 RCX: 0000000000000000 RDX: 1ffff10014370440 RSI: dead000000000200 RDI: 1bd5a00000000040 RBP: ffff880085dc7d48 R08: ffffed0012f9161d R09: ffff88009783b0d8 R10: ffffed0012f9161c R11: ffff880097c8b0e3 R12: ffff88009956a220 R13: 0000000000000000 R14: ffff8800a1b82218 R15: dffffc0000000000 FS: 000000000270c940(0000) GS:ffff8800aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9db6b43e70 CR3: 000000009e4f6000 CR4: 00000000001406e0 Call Trace: inet_release+0xd9/0x1c0 /net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 /net/ipv6/af_inet6.c:459 __sock_release+0xc2/0x230 /net/socket.c:603 sock_close+0x10/0x20 /net/socket.c:1186 __fput+0x238/0x780 /fs/file_table.c:209 ____fput+0x9/0x10 /fs/file_table.c:243 task_work_run+0x111/0x180 /kernel/task_work.c:113 tracehook_notify_resume /./include/linux/tracehook.h:192 [inline] exit_to_usermode_loop+0x1a4/0x200 /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+0x407/0x4d0 /arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413501 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 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:00007ffec80be340 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000413501 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffec80be420 R11: 0000000000000293 R12: 000000000075bf20 R13: 000000000001f05c R14: 0000000000761178 R15: ffffffffffffffff Modules linked in: ---[ end trace 12bec80efa9d22c8 ]--- RIP: 0010:__write_once_size /./include/linux/compiler.h:215 [inline] 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+0x58e/0xbb0 /kernel/bpf/sockmap.c:271 Code: 85 5d 04 00 00 4c 8d 48 18 48 8b 48 10 4c 89 ce 48 c1 ee 03 42 80 3c 3e 00 0f 85 1e 04 00 00 48 8b 70 18 48 89 f7 48 c1 ef 03 <42> 80 3c 3f 00 0f 85 66 04 00 00 48 85 c9 48 89 0e 74 1a 48 8d 79 RSP: 0018:ffff880085dc7cd0 EFLAGS: 00010a02 RAX: ffff88009783b0c0 RBX: ffff8800a1b82200 RCX: 0000000000000000 RDX: 1ffff10014370440 RSI: dead000000000200 RDI: 1bd5a00000000040 RBP: ffff880085dc7d48 R08: ffffed0012f9161d R09: ffff88009783b0d8 R10: ffffed0012f9161c R11: ffff880097c8b0e3 R12: ffff88009956a220 R13: 0000000000000000 R14: ffff8800a1b82218 R15: dffffc0000000000 FS: 000000000270c940(0000) GS:ffff8800aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9db6b43e70 CR3: 000000009e4f6000 CR4: 00000000001406e0