Re: net: Use after free in dst_release on boot

From: Eric Dumazet
Date: Tue Dec 01 2015 - 10:29:47 EST


On Tue, 2015-12-01 at 16:04 +0100, Hannes Frederic Sowa wrote:
> Hi,
>
> On Fri, Nov 27, 2015, at 21:48, Sasha Levin wrote:
> > [ 117.057618] BUG: KASAN: use-after-free in dst_release+0x9a/0xc0 at
> > addr ffff8806cf7c7560
> >
> > [ 117.058566] Read of size 2 by task swapper/0/1
> >
>
> Can you check if the following commit was already applied? net wasn't
> merged into net-next for a while.
>
> commit d69bbf88c8d0b367cf3e3a052f6daadf630ee566
> Author: Eric Dumazet <edumazet@xxxxxxxxxx>
> Date: Mon Nov 9 17:51:23 2015 -0800
>
> net: fix a race in dst_release()

Yes, this most definitely is the fix for this problem.

Thanks Hannes !


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/