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: 25470 Comm: syz-executor.3 Not tainted 5.3.0-rc5 #135 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tls_write_space+0x51/0x170 net/tls/tls_main.c:239 Code: c1 ea 03 80 3c 02 00 0f 85 26 01 00 00 49 8b 9c 24 b0 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 6a 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 df 00 00 00 RSP: 0018:ffff888060aafa58 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8609edb2 RDX: 000000000000000d RSI: ffffffff862c4d11 RDI: 000000000000006a RBP: ffff888060aafa70 R08: ffff8880505465c0 R09: fffffbfff167c281 R10: fffffbfff167c280 R11: ffffffff8b3e1407 R12: ffff8880a38405c0 R13: ffff8880a38409b8 R14: 000000000000000a R15: 0000000000000000 FS: 000055555737d940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000a6fda8 CR3: 000000005db21000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tcp_new_space net/ipv4/tcp_input.c:5151 [inline] tcp_check_space+0x191/0x760 net/ipv4/tcp_input.c:5162 tcp_data_snd_check net/ipv4/tcp_input.c:5172 [inline] tcp_rcv_established+0x9c1/0x1e70 net/ipv4/tcp_input.c:5663 tcp_v6_do_rcv+0x41e/0x12c0 net/ipv6/tcp_ipv6.c:1356 sk_backlog_rcv include/net/sock.h:945 [inline] __release_sock+0x129/0x390 net/core/sock.c:2418 release_sock+0x59/0x1c0 net/core/sock.c:2934 tls_sk_proto_close+0x277/0x910 net/tls/tls_main.c:312 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:0x413511 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:0000000000a6fbf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000413511 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: ffffffff8129028c R09: 00000000f01e74f1 R10: 0000000000a6fcd0 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 00000000007610b0 R15: ffffffffffffffff Modules linked in: ---[ end trace a5f53b9296e0c6d3 ]--- RIP: 0010:tls_write_space+0x51/0x170 net/tls/tls_main.c:239 Code: c1 ea 03 80 3c 02 00 0f 85 26 01 00 00 49 8b 9c 24 b0 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 6a 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 df 00 00 00 RSP: 0018:ffff888060aafa58 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8609edb2 RDX: 000000000000000d RSI: ffffffff862c4d11 RDI: 000000000000006a RBP: ffff888060aafa70 R08: ffff8880505465c0 R09: fffffbfff167c281 R10: fffffbfff167c280 R11: ffffffff8b3e1407 R12: ffff8880a38405c0 R13: ffff8880a38409b8 R14: 000000000000000a R15: 0000000000000000 FS: 000055555737d940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb64380e000 CR3: 000000005db21000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400