Re: KASAN: use-after-free Read in rtnetlink_put_metrics

From: David Ahern
Date: Wed Aug 01 2018 - 04:29:04 EST


On 8/1/18 10:15 AM, Sabrina Dubroca wrote:
> ip -net peerA route add fec0:B::/64 via fec0:A:: mtu 1300

I am on vacation right now with limited access to internet, so not able
to take a look.

In submitting the fib6_info changes I did tests like this and did not
see memleak reports (and verified the metrics refcnts with printks), so
I am surprised to see your patch in this area. Will take a look when I
can but that will not be for a couple more weeks.