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: 0 PID: 10532 Comm: syz-executor.0 Not tainted 4.14.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888091c602c0 task.stack: ffff8882024d8000 RIP: 0010:smc_diag_msg_common_fill net/smc/smc_diag.c:46 [inline] RIP: 0010:__smc_diag_dump.isra.0+0x300/0x1550 net/smc/smc_diag.c:81 RSP: 0018:ffff8882024df480 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff888203d61880 RCX: ffffc90005f12000 RDX: 0000000000000001 RSI: ffffffff86137df8 RDI: 000000000000000e RBP: ffff88809f5ca140 R08: 0000000000000040 R09: ffff888203d61890 R10: ffffed10407ac319 R11: ffff888203d618cf R12: 1ffff1104049be94 R13: ffff888211648980 R14: ffff8880951c5b90 R15: 0000000000000000 FS: 00007f00272ef700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e49287000 CR3: 000000004b51a000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smc_diag_dump+0x1d9/0x290 net/smc/smc_diag.c:169 netlink_dump+0x3da/0xab0 net/netlink/af_netlink.c:2203 __netlink_dump_start+0x4e2/0x740 net/netlink/af_netlink.c:2300 netlink_dump_start include/linux/netlink.h:217 [inline] smc_diag_handler_dump+0x19d/0x1e0 net/smc/smc_diag.c:190 __sock_diag_cmd net/core/sock_diag.c:231 [inline] sock_diag_rcv_msg+0x28d/0x390 net/core/sock_diag.c:263 netlink_rcv_skb+0x127/0x370 net/netlink/af_netlink.c:2433 sock_diag_rcv+0x26/0x40 net/core/sock_diag.c:274 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x437/0x620 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x733/0xbe0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xc5/0x100 net/socket.c:656 sock_no_sendpage+0xe5/0x110 net/core/sock.c:2572 kernel_sendpage+0x82/0xd0 net/socket.c:3407 sock_sendpage+0x84/0xa0 net/socket.c:871 pipe_to_sendpage+0x226/0x2d0 fs/splice.c:451 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x332/0x740 fs/splice.c:626 splice_from_pipe+0xc6/0x120 fs/splice.c:661 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0xca0/0x1230 fs/splice.c:1382 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45ca29 RSP: 002b:00007f00272eec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00000000005079c0 RCX: 000000000045ca29 RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 000000000078bf00 R08: 0000000080000001 R09: 0000000000000005 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000bae R14: 00000000004ce9f7 R15: 00007f00272ef6d4 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b5 11 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7f 20 49 8d 7f 0e 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 RIP: smc_diag_msg_common_fill net/smc/smc_diag.c:46 [inline] RSP: ffff8882024df480 RIP: __smc_diag_dump.isra.0+0x300/0x1550 net/smc/smc_diag.c:81 RSP: ffff8882024df480 ---[ end trace 7512c80c6b03f677 ]---