ion_mmap: failure mapping buffer to userspace ion_mmap: failure mapping buffer to userspace 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: 7986 Comm: syz-executor0 Not tainted 4.19.0-rc5+ #154 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:931 [inline] RIP: 0010:tls_push_sg+0x2c4/0x8c0 net/tls/tls_main.c:134 Code: e2 4e d0 fa 48 8b 85 08 ff ff ff 48 b9 00 00 00 00 00 fc ff df c6 00 00 48 8b 85 28 ff ff ff 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 16 05 00 00 48 8b 85 28 ff ff ff 48 8b 58 08 48 RSP: 0018:ffff8801976b76b0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff86ae953e RDI: 0000000000000008 RBP: ffff8801976b77d0 R08: ffff8801b8008580 R09: ffffed00389b5867 R10: ffffed00389b5867 R11: ffff8801c4dac33f R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88019cad2500 FS: 0000000000000000(0000) GS:ffff8801dad00000(0063) knlGS:00000000097c8900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020005ff7 CR3: 00000001c64c8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready Call Trace: tls_push_record+0xb4d/0x1480 net/tls/tls_sw.c:245 tls_sw_push_pending_record+0x22/0x30 net/tls/tls_sw.c:257 tls_handle_open_record net/tls/tls_main.c:156 [inline] tls_sk_proto_close+0x69c/0xbb0 net/tls/tls_main.c:271 inet_release+0x104/0x1f0 net/ipv4/af_inet.c:428 __sock_release+0x1d9/0x250 net/socket.c:579 sock_release+0x17/0x20 net/socket.c:598 smc_release+0x1a8/0x730 net/smc/af_smc.c:148 __sock_release+0xd7/0x250 net/socket.c:579 sock_close+0x19/0x20 net/socket.c:1141 __fput+0x385/0xa30 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_32_irqs_on arch/x86/entry/common.c:341 [inline] do_fast_syscall_32+0xcd5/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fc0ca9 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 0c 24 c3 8b 1c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:000000000845fdac EFLAGS: 00000216 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 0000000000000000 RDX: 000000000000000a RSI: 0000000000000010 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 37bbe883658fe941 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:931 [inline] RIP: 0010:tls_push_sg+0x2c4/0x8c0 net/tls/tls_main.c:134 Code: e2 4e d0 fa 48 8b 85 08 ff ff ff 48 b9 00 00 00 00 00 fc ff df c6 00 00 48 8b 85 28 ff ff ff 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 16 05 00 00 48 8b 85 28 ff ff ff 48 8b 58 08 48 kobject: 'vet' (000000004eae38ff): kobject_cleanup, parent (null) RSP: 0018:ffff8801976b76b0 EFLAGS: 00010202 kobject: 'vet' (000000004eae38ff): calling ktype release RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff86ae953e RDI: 0000000000000008 RBP: ffff8801976b77d0 R08: ffff8801b8008580 R09: ffffed00389b5867 R10: ffffed00389b5867 R11: ffff8801c4dac33f R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88019cad2500 FS: 0000000000000000(0000) GS:ffff8801dad00000(0063) knlGS:00000000097c8900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020005ff7 CR3: 00000001c64c8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400