netlink_rcv_skb+0x35d/0x440 net/netlink/af_netlink.c:2460 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:4729 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x5a0/0x760 net/netlink/af_netlink.c:1343 kasan: GPF could be caused by NULL-ptr deref or user memory access netlink_sendmsg+0xa18/0xfc0 net/netlink/af_netlink.c:1908 general protection fault: 0000 [#1] SMP KASAN CPU: 0 PID: 20114 Comm: syz-executor0 Not tainted 4.18.0-rc8+ #173 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:smc_ioctl+0x880/0x1250 net/smc/af_smc.c:1737 Code: sock_sendmsg_nosec net/socket.c:640 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:650 48 sock_write_iter+0x362/0x5c0 net/socket.c:919 c1 ea 03 80 3c 02 call_write_iter include/linux/fs.h:1793 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6c6/0x9f0 fs/read_write.c:487 00 0f 85 e4 07 00 00 4c 8b vfs_write+0x1f8/0x560 fs/read_write.c:549 ab ksys_write+0x101/0x260 fs/read_write.c:598 98 04 00 00 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 48 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 b8 00 00 00 00 00 fc ff df entry_SYSCALL_64_after_hwframe+0x49/0xbe 49 RIP: 0033:0x456cb9 8d Code: 7d fd 20 b4 48 fb ff 89 c3 66 fa 48 2e c1 0f ea 1f 03 84 <0f> 00 b6 04 00 02 84 00 c0 00 74 00 08 66 3c 90 03 48 0f 89 8e f8 48 c2 89 07 f7 00 48 00 89 4c d6 8d 48 bb 89 f8 ca 4d 04 89 00 c2 4d RSP: 0018:ffff88019d81f5c8 EFLAGS: 00010202 89 c8 RAX: dffffc0000000000 RBX: ffff8801c9bb2280 RCX: ffffc90001ffd000 4c 8b RDX: 0000000000000004 RSI: ffffffff867dc902 RDI: 0000000000000020 4c RBP: ffff88019d81f9b0 R08: ffff8801c1ea4640 R09: 0000000000000000 24 08 R10: ffffed0039376461 R11: ffff8801c9bb230b R12: 1ffff10033b03ebd R13: 0000000000000000 R14: 0000000020000080 R15: 0000000000000001 0f FS: 00007fac82c29700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 05 <48> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000007234ec CR3: 000000019f788000 CR4: 00000000001406f0 3d 01 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 f0 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ff ff Call Trace: 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa20eecec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa20eecf6d4 RCX: 0000000000456cb9 RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000013 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000004d64b0 R14: 00000000004c75ae R15: 0000000000000005 sock_do_ioctl+0xe4/0x3e0 net/socket.c:968 sock_ioctl+0x30d/0x680 net/socket.c:1092 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1de/0x1720 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+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456cb9 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fac82c28c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fac82c296d4 RCX: 0000000000456cb9 RDX: 0000000020000080 RSI: 0000000000005411 RDI: 0000000000000013 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d1128 R14: 00000000004c6d8f R15: 0000000000000001 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace 173cc789bf76cbb7 ]--- RIP: 0010:smc_ioctl+0x880/0x1250 net/smc/af_smc.c:1737 Code: 48 c1 ea 03 80 3c 02 00 0f 85 e4 07 00 00 4c 8b ab 98 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 20 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e c2 07 00 00 4c 8d bb f8 04 00 RSP: 0018:ffff88019d81f5c8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801c9bb2280 RCX: ffffc90001ffd000 RDX: 0000000000000004 RSI: ffffffff867dc902 RDI: 0000000000000020 RBP: ffff88019d81f9b0 R08: ffff8801c1ea4640 R09: 0000000000000000 R10: ffffed0039376461 R11: ffff8801c9bb230b R12: 1ffff10033b03ebd R13: 0000000000000000 R14: 0000000020000080 R15: 0000000000000001 FS: 00007fac82c29700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000007234ec CR3: 000000019f788000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400