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 Modules linked in: CPU: 1 PID: 8949 Comm: syz-executor.5 Not tainted 4.14.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809b546500 task.stack: ffff88805b310000 RIP: 0010:smc_diag_msg_common_fill net/smc/smc_diag.c:44 [inline] RIP: 0010:__smc_diag_dump.isra.0+0x342/0x17b0 net/smc/smc_diag.c:82 RSP: 0018:ffff88805b3174f0 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88805b131440 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff863a7993 RDI: 000000000000000e RBP: ffff88805b3176c8 R08: 0000000000000040 R09: ffff88805b131490 R10: ffff88809b546df8 R11: ffff88809b546500 R12: ffff88805b3176a0 R13: ffff8880929a3310 R14: ffff888097c992c0 R15: ffff888097c99710 FS: 00007f9cbff6a700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f73352e2a30 CR3: 000000009be92000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smc_diag_dump+0x1e5/0x2a0 net/smc/smc_diag.c:170 netlink_dump+0x3fa/0xb10 net/netlink/af_netlink.c:2202 __netlink_dump_start+0x4e6/0x740 net/netlink/af_netlink.c:2299 netlink_dump_start include/linux/netlink.h:217 [inline] smc_diag_handler_dump+0x1b7/0x200 net/smc/smc_diag.c:191 __sock_diag_cmd net/core/sock_diag.c:231 [inline] sock_diag_rcv_msg+0x29e/0x3a0 net/core/sock_diag.c:263 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432 sock_diag_rcv+0x2b/0x40 net/core/sock_diag.c:274 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline] netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312 netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xce/0x110 net/socket.c:656 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062 __sys_sendmsg+0xb9/0x140 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2103 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45b3b9 RSP: 002b:00007f9cbff69c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9cbff6a6d4 RCX: 000000000045b3b9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009c4 R14: 00000000004cb36a R15: 000000000075bf2c Code: 20 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 b2 13 00 00 48 8b 50 20 48 b8 00 00 00 00 00 fc ff df 48 8d 7a 0e 48 89 f9 48 c1 e9 03 <0f> b6 0c 01 48 89 f8 83 e0 07 83 c0 01 38 c8 7c 08 84 c9 0f 85 RIP: smc_diag_msg_common_fill net/smc/smc_diag.c:44 [inline] RSP: ffff88805b3174f0 RIP: __smc_diag_dump.isra.0+0x342/0x17b0 net/smc/smc_diag.c:82 RSP: ffff88805b3174f0 ---[ end trace 38b05cfb7f5050e4 ]---