From: Ying Xue <ying....@windriver.com> Date: Tue, 8 May 2018 21:44:06 +0800
> When we get link properties through netlink interface with > tipc_nl_node_get_link(), we don't validate TIPC_NLA_LINK_NAME > attribute at all, instead we directly use it. As a consequence, > KMSAN detected the TIPC_NLA_LINK_NAME attribute was an uninitialized > value, and then posted the following complaint: ... > To quiet the complaint, TIPC_NLA_LINK_NAME attribute has been > validated in tipc_nl_node_get_link() before it's used. > > Reported-by: syzbot+df0257c92ffd4fcc5...@syzkaller.appspotmail.com > Signed-off-by: Ying Xue <ying....@windriver.com> Applied, thanks.