Thu, Sep 19, 2019 at 01:24:12AM CEST, [email protected] 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: [email protected]
Acked-by: Jiri Pirko <[email protected]>
