RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440589 RDX: 00000000fffffdef RSI: 00000000200005c0 RDI: 0000000000000004 RBP: 00000000006cb018 R08: 0000000020000000 R09: 000000000000001c R10: 0000000000000040 R11: 0000000000000212 R12: 0000000000000005 R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000 BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 PGD 800000021226e067 P4D 800000021226e067 PUD 21226c067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 1 PID: 4068 Comm: syz-executor107 Not tainted 4.18.0-rc8+ #32 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tls_push_sg+0xfa/0x220 net/tls/tls_main.c:128 Code: ee 49 29 df 48 8b 7d c0 4c 89 e6 44 89 f2 4c 89 f9 44 8b 45 d0 e8 e6 10 f6 ff 49 89 c5 49 63 dd 49 39 df 75 cb e8 f6 ac c1 fe <49> 8b 44 24 08 a8 01 4c 8b 75 c0 0f 85 80 00 00 00 c6 45 d7 00 f0 RSP: 0018:ffff8802030bfc30 EFLAGS: 00010293 RAX: ffffffff825500ff RBX: 0000000000000000 RCX: ffff880203255280 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880212228200 RBP: ffff8802030bfc80 R08: 0000000000020000 R09: ffff8802152c9600 R10: ffff88021237c400 R11: ffffffff825a3b40 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00000000022ac880(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000212242000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tls_push_record+0x390/0x470 net/tls/tls_sw.c:264 tls_sw_push_pending_record+0x22/0x30 net/tls/tls_sw.c:276 tls_handle_open_record net/tls/tls_main.c:164 [inline] tls_sk_proto_close+0x117/0x310 net/tls/tls_main.c:264 inet_release+0x7e/0x90 net/ipv4/af_inet.c:427 inet6_release+0x35/0x50 net/ipv6/af_inet6.c:459 __sock_release net/socket.c:600 [inline] sock_close+0x48/0xd0 net/socket.c:1151 __fput+0x110/0x280 fs/file_table.c:209 ____fput+0x15/0x20 fs/file_table.c:243 task_work_run+0xb4/0xe0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x3a7/0xd70 kernel/exit.c:867 do_group_exit+0x68/0xf0 kernel/exit.c:970 __do_sys_exit_group+0xf/0x10 kernel/exit.c:981 __se_sys_exit_group+0x9/0x10 kernel/exit.c:979 __x64_sys_exit_group+0xd/0x10 kernel/exit.c:979 do_syscall_64+0x61/0x90 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x43f248 Code: 14 24 89 5d 00 41 8d 4c 48 d0 74 13 44 0f b6 02 4c 8b 08 45 0f b6 d0 43 f6 44 51 01 08 75 d3 5b 5d 89 c8 41 5c c3 31 c9 eb f5 <0f> 1f 84 00 00 00 00 00 48 89 6c 24 d8 4c 89 64 24 e0 48 89 d5 48 RSP: 002b:00007fffa9248f18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f248 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004befa8 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 0000000000000008 ---[ end trace fa8a8d710ea4aa07 ]--- RIP: 0010:tls_push_sg+0xfa/0x220 net/tls/tls_main.c:128 Code: ee 49 29 df 48 8b 7d c0 4c 89 e6 44 89 f2 4c 89 f9 44 8b 45 d0 e8 e6 10 f6 ff 49 89 c5 49 63 dd 49 39 df 75 cb e8 f6 ac c1 fe <49> 8b 44 24 08 a8 01 4c 8b 75 c0 0f 85 80 00 00 00 c6 45 d7 00 f0 RSP: 0018:ffff8802030bfc30 EFLAGS: 00010293 RAX: ffffffff825500ff RBX: 0000000000000000 RCX: ffff880203255280 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880212228200 RBP: ffff8802030bfc80 R08: 0000000000020000 R09: ffff8802152c9600 R10: ffff88021237c400 R11: ffffffff825a3b40 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00000000022ac880(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000212242000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400