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

From: Cong Wang
Date: Mon Jun 29 2020 - 23:34:03 EST


On Mon, Jun 29, 2020 at 6:17 PM Jason A. Donenfeld <Jason@xxxxxxxxx> wrote:
>
> Hey Cong,

Hi, Jason

>
> I'm wondering if the below error is related to what you've been
> looking at yesterday. AFAICT, there's a simple UaF on the attrbuf
> passed to the start method. I recall recently you were working on the
> locking in genetlink's family buffers and wound up mallocing some
> things, so it seems like this might be related. See below.

Yeah, very likely it is the same bug I have fixed. I will close
this together with others.

Thanks.