netlink: 'syz-executor0': attribute type 29 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor0'. kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 17212 Comm: syz-executor4 Not tainted 4.16.0+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sk_user_ns include/net/sock.h:748 [inline] RIP: 0010:tipc_sk_fill_sock_diag+0x45f/0xc80 net/tipc/socket.c:3282 RSP: 0018:ffff88019c52f068 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffff8801ce3d1180 RCX: 000000000000002b RDX: dffffc0000000000 RSI: ffff88019f9e4b58 RDI: 0000000000000158 RBP: ffff88019c52f320 R08: ffff88019f9e4ab8 R09: 0000000000000002 R10: ffff88019f9e4240 R11: 0000000000000000 R12: ffff8801d7f47140 R13: ffff88019c52f2f8 R14: 0000000000000000 R15: ffffed00338a5e2f FS: 00007fe57ee43700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd753ad7db8 CR3: 00000001b40ab000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __tipc_add_sock_diag+0x22c/0x350 net/tipc/diag.c:62 tipc_nl_sk_walk+0x685/0xd10 net/tipc/socket.c:3240 tipc_diag_dump+0x24/0x30 net/tipc/diag.c:73 netlink_dump+0x507/0xd20 net/netlink/af_netlink.c:2224 __netlink_dump_start+0x51a/0x780 net/netlink/af_netlink.c:2321 netlink_dump_start include/linux/netlink.h:214 [inline] tipc_sock_diag_handler_dump+0x22c/0x320 net/tipc/diag.c:89 __sock_diag_cmd net/core/sock_diag.c:230 [inline] sock_diag_rcv_msg+0x2e0/0x3d0 net/core/sock_diag.c:261 netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2446 sock_diag_rcv+0x2a/0x40 net/core/sock_diag.c:272 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x58b/0x740 net/netlink/af_netlink.c:1336 netlink_sendmsg+0x9d8/0xf80 net/netlink/af_netlink.c:1899 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:639 sock_write_iter+0x35a/0x5a0 net/socket.c:908 call_write_iter include/linux/fs.h:1782 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x5bc/0x880 fs/read_write.c:487 vfs_write+0x1f8/0x560 fs/read_write.c:549 ksys_write+0xf9/0x250 fs/read_write.c:598 SYSC_write fs/read_write.c:610 [inline] SyS_write+0x24/0x30 fs/read_write.c:607 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x455279 RSP: 002b:00007fe57ee42c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fe57ee436d4 RCX: 0000000000455279 RDX: 0000000000000079 RSI: 0000000020000180 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000006b6 R14: 00000000006fd1b0 R15: 0000000000000000 Code: f9 48 c1 e9 03 80 3c 11 00 0f 85 6a 07 00 00 48 ba 00 00 00 00 00 fc ff df 4d 8b 76 18 49 8d be 58 01 00 00 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 5a 07 00 00 4d 8b b6 58 01 00 00 48 ba 00 00 RIP: sk_user_ns include/net/sock.h:748 [inline] RSP: ffff88019c52f068 RIP: tipc_sk_fill_sock_diag+0x45f/0xc80 net/tipc/socket.c:3282 RSP: ffff88019c52f068 ---[ end trace 779d3d2e8458571f ]---