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: 2811 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:951 [inline] RIP: 0010:tls_push_sg+0x219/0x7c0 net/tls/tls_main.c:134 Code: 89 04 24 4c 89 e7 e8 86 be 69 fa 49 39 ec 75 ab e8 6c bd 69 fa 49 8d 7e 08 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 b3 04 00 00 49 8b 5e 08 31 ff 48 89 dd 83 e5 01 RSP: 0018:ffff8880517bf918 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000040000 RSI: ffffffff86f8c804 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888093fca1c0 FS: 00007fc02a239700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1963461b8 CR3: 0000000051b37000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tls_push_record+0xb4e/0x1370 net/tls/tls_sw.c:245 tls_handle_open_record net/tls/tls_main.c:156 [inline] tls_sk_proto_close+0x8cf/0xc20 net/tls/tls_main.c:271 inet_release+0xd7/0x1e0 net/ipv4/af_inet.c:427 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:472 __sock_release+0xcd/0x2a0 net/socket.c:599 sock_close+0x15/0x20 net/socket.c:1214 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 get_signal+0x1b64/0x1f70 kernel/signal.c:2400 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc02b8c4049 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc02a239168 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: 00000000000024b1 RBX: 00007fc02b9d6f60 RCX: 00007fc02b8c4049 RDX: 000000000000027f RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007fc02a2391d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe6046d7df R14: 00007fc02a239300 R15: 0000000000022000 Modules linked in: ---[ end trace c4a550c390d14b08 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:951 [inline] RIP: 0010:tls_push_sg+0x219/0x7c0 net/tls/tls_main.c:134 Code: 89 04 24 4c 89 e7 e8 86 be 69 fa 49 39 ec 75 ab e8 6c bd 69 fa 49 8d 7e 08 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 b3 04 00 00 49 8b 5e 08 31 ff 48 89 dd 83 e5 01 RSP: 0018:ffff8880517bf918 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000040000 RSI: ffffffff86f8c804 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888093fca1c0 FS: 00007fc02a239700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ff23000 CR3: 0000000051b37000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 04 24 mov %eax,(%rsp) 3: 4c 89 e7 mov %r12,%rdi 6: e8 86 be 69 fa callq 0xfa69be91 b: 49 39 ec cmp %rbp,%r12 e: 75 ab jne 0xffffffbb 10: e8 6c bd 69 fa callq 0xfa69bd81 15: 49 8d 7e 08 lea 0x8(%r14),%rdi 19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 20: fc ff df 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 0f 85 b3 04 00 00 jne 0x4e7 34: 49 8b 5e 08 mov 0x8(%r14),%rbx 38: 31 ff xor %edi,%edi 3a: 48 89 dd mov %rbx,%rbp 3d: 83 e5 01 and $0x1,%ebp