[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180510.082546.2079660211607047825.davem@davemloft.net>
Date: Thu, 10 May 2018 08:25:46 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ying.xue@...driver.com
Cc: jon.maloy@...csson.com, netdev@...r.kernel.org,
syzkaller-bugs@...glegroups.com,
tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net] tipc: eliminate KMSAN uninit-value in strcmp
complaint
From: Ying Xue <ying.xue@...driver.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+df0257c92ffd4fcc58cd@...kaller.appspotmail.com
> Signed-off-by: Ying Xue <ying.xue@...driver.com>
Applied, thanks.
Powered by blists - more mailing lists