RAX: ffffffffffffffda RBX: 0000000001d83914 RCX: 0000000000456c99 RDX: 00000000fffffdef RSI: 00000000200005c0 RDI: 0000000000000003 RBP: 00000000009300a0 R08: 0000000020000000 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00000000004d3880 R14: 00000000004c850f R15: 0000000000000005 BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 PGD 8000000204a9c067 P4D 8000000204a9c067 PUD 2118f6067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 1 PID: 4288 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:ffff880212373c10 EFLAGS: 00010293 RAX: ffffffff825500ff RBX: 0000000000000000 RCX: ffff8801ffc68dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880200d2d300 RBP: ffff880212373c60 R08: 0000000000020000 R09: ffff880215370800 R10: ffff880202abe800 R11: ffffffff825a3b40 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000001d83940(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000204bba000 CR4: 00000000001406e0 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:0x410830 Code: 01 f0 ff ff 0f 83 60 19 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 5d 57 63 00 00 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 RSP: 002b:00007fffde8bfc88 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000410830 RDX: 0000001b2f320000 RSI: 0000000000730a38 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000704dc8 R13: 00007fffde8bfc90 R14: 0000000000000003 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 0000000000000008 ---[ end trace 4235accddac17931 ]--- 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:ffff880212373c10 EFLAGS: 00010293 RAX: ffffffff825500ff RBX: 0000000000000000 RCX: ffff8801ffc68dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880200d2d300 RBP: ffff880212373c60 R08: 0000000000020000 R09: ffff880215370800 R10: ffff880202abe800 R11: ffffffff825a3b40 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000001d83940(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000204bba000 CR4: 00000000001406e0