Re: [syzbot] [net?] WARNING: refcount bug in ethnl_phy_done

From: Maxime Chevallier
Date: Wed Sep 11 2024 - 07:41:09 EST


Hi Eric,

On Wed, 11 Sep 2024 12:08:36 +0200
Eric Dumazet <edumazet@xxxxxxxxxx> wrote:

> > I'm currently investigating this. I couldn't reproduce it though, even
> > with the C reproducer, although this was on an arm64 box. I'll give it
> > a try on x86_64 with the provided .config, see if I can figure out
> > what's going on, as it looks like the ethnl_phy_start() doesn't get
> > called.
>
> Make sure to have in your .config
>
> CONFIG_REF_TRACKER=y
> CONFIG_NET_DEV_REFCNT_TRACKER=y
> CONFIG_NET_NS_REFCNT_TRACKER=y

Good point, I now reproduce the issue indeed. Thanks a lot for the tips,

Maxime