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: 7357 Comm: syz-executor.1 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:ffff8880618efa58 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8609edb2 RDX: 000000000000000d RSI: ffffffff862c4d11 RDI: 000000000000006a RBP: ffff8880618efa70 R08: ffff88805e55c700 R09: fffffbfff167c281 R10: fffffbfff167c280 R11: ffffffff8b3e1407 R12: ffff888097a123c0 R13: ffff888097a127b8 R14: 000000000000000a R15: 0000000000000000 FS: 0000555555e6c940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48a7281000 CR3: 00000000a8830000 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: 0000000000000004 RCX: 0000000000413511 RDX: 0000001b2f520000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffffffff8133702b R09: 0000000084570c71 R10: 0000000000a6fcd0 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 0000000000761078 R15: ffffffffffffffff Modules linked in: ---[ end trace e808c83074e15754 ]--- 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:ffff8880618efa58 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8609edb2 RDX: 000000000000000d RSI: ffffffff862c4d11 RDI: 000000000000006a RBP: ffff8880618efa70 R08: ffff88805e55c700 R09: fffffbfff167c281 R10: fffffbfff167c280 R11: ffffffff8b3e1407 R12: ffff888097a123c0 R13: ffff888097a127b8 R14: 000000000000000a R15: 0000000000000000 FS: 0000555555e6c940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48a7281000 CR3: 00000000a8830000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400