From: Eric Dumazet <eduma...@google.com> Date: Tue, 5 Jun 2018 06:06:19 -0700
> Before using nla_get_u32(), better make sure the attribute > is of the proper size. > > Code recently was changed, but bug has been there from beginning > of git. ... > Fixes: a919525ad832 ("net: Move fib_convert_metrics to metrics file") > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > Signed-off-by: Eric Dumazet <eduma...@google.com> > Reported-by: syzbot <syzkal...@googlegroups.com> > Cc: David Ahern <dsah...@gmail.com> > --- > v2: fixed a typo. Applied and queued up for -stable, thanks Eric.