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: 32186 Comm: syz-executor.5 Not tainted 5.3.0-rc3+ #134 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:ffff888088d2fa58 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff860aad62 RDX: 000000000000000d RSI: ffffffff862d1451 RDI: 000000000000006a RBP: ffff888088d2fa70 R08: ffff888097de4280 R09: fffffbfff167c295 R10: fffffbfff167c294 R11: ffffffff8b3e14a7 R12: ffff8880a2c3e700 R13: ffff8880a2c3eaf8 R14: 000000000000000a R15: 0000000000000000 FS: 00005555574a6940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000b00 CR3: 00000000903e4000 CR4: 00000000001406e0 Call Trace: tcp_new_space net/ipv4/tcp_input.c:5194 [inline] tcp_check_space+0x191/0x760 net/ipv4/tcp_input.c:5205 tcp_data_snd_check net/ipv4/tcp_input.c:5215 [inline] tcp_rcv_established+0x9c1/0x1e70 net/ipv4/tcp_input.c:5706 tcp_v6_do_rcv+0x41e/0x12c0 net/ipv6/tcp_ipv6.c:1371 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:00007ffd6b7e5050 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413511 RDX: 0000001b30a20000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffffffff812900ac R09: 00000000f8103863 R10: 00007ffd6b7e5130 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 00000000007608d8 R15: ffffffffffffffff Modules linked in: ---[ end trace f76fa02fb7446b06 ]--- 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:ffff888088d2fa58 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff860aad62 RDX: 000000000000000d RSI: ffffffff862d1451 RDI: 000000000000006a RBP: ffff888088d2fa70 R08: ffff888097de4280 R09: fffffbfff167c295 R10: fffffbfff167c294 R11: ffffffff8b3e14a7 R12: ffff8880a2c3e700 R13: ffff8880a2c3eaf8 R14: 000000000000000a R15: 0000000000000000 FS: 00005555574a6940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c529000 CR3: 00000000903e4000 CR4: 00000000001406f0