Re: [syzbot] WARNING in __nf_unregister_net_hook (4)

From: Florian Westphal
Date: Sat May 08 2021 - 10:47:13 EST


Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+154bd5be532a63aa778b@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> Is this also fixed by "netfilter: arptables: use pernet ops struct
> during unregister"?
> The warning is the same, but the stack is different...

No, this is a different bug.

In both cases the caller attempts to unregister a hook that the core
can't find, but in this case the caller is nftables, not arptables.