__sys_sendmsg+0x115/0x270 net/socket.c:2155 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access __do_sys_sendmsg net/socket.c:2164 [inline] __se_sys_sendmsg net/socket.c:2162 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2162 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: entry_SYSCALL_64_after_hwframe+0x49/0xbe CPU: 0 PID: 32430 Comm: syz-executor4 Not tainted 4.17.0-rc4+ #55 RIP: 0033:0x455a09 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RSP: 002b:00007ff8fed74c68 EFLAGS: 00000246 RIP: 0010:smc_ioctl+0x3dc/0x9f0 net/smc/af_smc.c:1499 ORIG_RAX: 000000000000002e RSP: 0018:ffff8801961af770 EFLAGS: 00010202 RAX: ffffffffffffffda RBX: 00007ff8fed756d4 RCX: 0000000000455a09 RDX: 0000000020000041 RSI: 0000000020001480 RDI: 0000000000000013 RAX: dffffc0000000000 RBX: ffff8801b4f707c0 RCX: ffffc90009302000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 RDX: 0000000000000004 RSI: ffffffff87411b4e RDI: 0000000000000020 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 RBP: ffff8801961af9d0 R08: ffff880198830340 R09: ffffed003b5c46c2 R13: 000000000000057f R14: 00000000006fc488 R15: 000000000000000f R10: 0000000000000003 R11: 0000000000000000 R12: 1ffff10032c35ef1 R13: 0000000020000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f28ed319700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055603b342460 CR3: 00000001b080e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sock_do_ioctl+0xe4/0x3e0 net/socket.c:957 sock_ioctl+0x30d/0x680 net/socket.c:1081 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1cf/0x16a0 fs/ioctl.c:684 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455a09 RSP: 002b:00007f28ed318c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f28ed3196d4 RCX: 0000000000455a09 RDX: 0000000020000000 RSI: 0000000000005411 RDI: 0000000000000017 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000044b R14: 00000000006fa7a8 R15: 0000000000000000 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 7d 05 00 00 4c 8b b3 90 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 20 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 47 05 00 00 45 8b 7e 20 4c RIP: smc_ioctl+0x3dc/0x9f0 net/smc/af_smc.c:1499 RSP: ffff8801961af770 ---[ end trace 527b5b418e5a707e ]---