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: 15282 Comm: syz-executor.1 Not tainted 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tls_sk_proto_close+0xef/0x9c0 net/tls/tls_main.c:306 Code: c0 02 00 00 49 8d 4d 14 48 89 ca 48 89 8d 70 ff ff ff 83 e1 07 48 c1 ea 03 48 89 85 50 ff ff ff 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 02 38 c8 7f 08 84 c0 0f 85 29 06 00 00 41 0f b6 5d 14 bf RSP: 0018:ffff88805fa17b90 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: 0000000000000004 RDX: 0000000000000002 RSI: ffffffff862e7939 RDI: ffff88809504d000 RBP: ffff88805fa17c48 R08: ffff88808d0ea200 R09: fffffbfff14e9551 R10: fffffbfff14e9550 R11: ffffffff8a74aa87 R12: ffff88809504cd40 R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a05f5638 FS: 00005555572d6940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91d00f1518 CR3: 0000000093b30000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tls_sk_proto_close+0x376/0x9c0 net/tls/tls_main.c:329 tcp_bpf_close+0x17c/0x390 net/ipv4/tcp_bpf.c:582 inet_release+0xed/0x200 net/ipv4/af_inet.c:427 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:470 __sock_release+0xce/0x280 net/socket.c:590 sock_close+0x1e/0x30 net/socket.c:1268 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x5a9/0x6a0 arch/x86/entry/common.c:299 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4135d1 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:00007ffe3794ee20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00000000004135d1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 000000009cb1f87a R09: 000000009cb1f87e R10: 00007ffe3794ef00 R11: 0000000000000293 R12: 000000000075bf20 R13: 00000000000441ac R14: 0000000000761348 R15: ffffffffffffffff Modules linked in: ---[ end trace dfab98be340466cb ]--- RIP: 0010:tls_sk_proto_close+0xef/0x9c0 net/tls/tls_main.c:306 Code: c0 02 00 00 49 8d 4d 14 48 89 ca 48 89 8d 70 ff ff ff 83 e1 07 48 c1 ea 03 48 89 85 50 ff ff ff 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 02 38 c8 7f 08 84 c0 0f 85 29 06 00 00 41 0f b6 5d 14 bf RSP: 0018:ffff88805fa17b90 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: 0000000000000004 RDX: 0000000000000002 RSI: ffffffff862e7939 RDI: ffff88809504d000 RBP: ffff88805fa17c48 R08: ffff88808d0ea200 R09: fffffbfff14e9551 R10: fffffbfff14e9550 R11: ffffffff8a74aa87 R12: ffff88809504cd40 R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a05f5638 FS: 00005555572d6940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020800000 CR3: 0000000093b30000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400