Thu, Sep 19, 2019 at 01:24:12AM CEST, xiyou.wangc...@gmail.com wrote:
>The TCA_KIND attribute is of NLA_STRING which does not check
>the NUL char. KMSAN reported an uninit-value of TCA_KIND which
>is likely caused by the lack of NUL.
>
>Change it to NLA_NUL_STRING and add a max len too.
>
>Fixes: 8b4c3cdd9dd8 ("net: sched: Add policy validation for tc attributes")
>Reported-and-tested-by: syzbot+618aacd49e8c8b848...@syzkaller.appspotmail.com

Acked-by: Jiri Pirko <j...@mellanox.com>

Reply via email to