RAX: ffffffffffffffda RBX: 00007f8a9281f6d4 RCX: 0000000000456d89 RDX: 00000000fffffdef RSI: 00000000200005c0 RDI: 0000000000000004 RBP: 00000000009300a0 R08: 0000000020000000 R09: 000000000000001c R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000005 R13: 00000000004d39a0 R14: 00000000004c8629 R15: 0000000000000002 BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 PGD 8000000215263067 P4D 8000000215263067 PUD 1e9ff2067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 0 PID: 18902 Comm: syz-executor0 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:ffff8802085afc10 EFLAGS: 00010293 RAX: ffffffff825500ff RBX: 0000000000000000 RCX: ffff880202b06e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801ee6f4600 RBP: ffff8802085afc60 R08: 0000000000020000 R09: ffff8801ec758800 R10: ffff8801edfe1000 R11: ffffffff825a3b40 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00000000029a9940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000202a3e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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 tracehook_notify_resume include/linux/tracehook.h:192 [inline] exit_to_usermode_loop arch/x86/entry/common.c:166 [inline] prepare_exit_to_usermode+0x144/0x170 arch/x86/entry/common.c:197 syscall_return_slowpath+0x3f/0x270 arch/x86/entry/common.c:268 do_syscall_64+0x6d/0x90 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x410941 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 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:0000000000a3fdc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000410941 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000a3fcf0 R11: 0000000000000293 R12: 0000000000000009 R13: 0000000000a3fdd0 R14: 0000000000025646 R15: 0000000000000149 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 0000000000000008 ---[ end trace ad8176b6d2fa4b30 ]--- 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:ffff8802085afc10 EFLAGS: 00010293 RAX: ffffffff825500ff RBX: 0000000000000000 RCX: ffff880202b06e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801ee6f4600 RBP: ffff8802085afc60 R08: 0000000000020000 R09: ffff8801ec758800 R10: ffff8801edfe1000 R11: ffffffff825a3b40 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00000000029a9940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000202a3e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600