Re: 5.0.7: WARNING: CPU: 1 PID: 169 at net/netfilter/nft_compat.c:82 and genreal protection fault

From: Frederik Himpe
Date: Tue Apr 09 2019 - 05:59:12 EST


On Mon, 2019-04-08 at 22:19 +0200, Florian Westphal wrote:
> Frederik Himpe <fhimpe@xxxxxxxxxxxx> wrote:
> > I'm experiencing this reproducible bug every time shorewall6 is
> > restarted:
> > [ 28.932323] WARNING: CPU: 1 PID: 169 at
> > net/netfilter/nft_compat.c:82 nft_xt_put.part.9+0x21/0x30
> > [nft_compat]
> [..]
> > [ 29.015565] general protection fault: 0000 [#1] SMP PTI
> > [ 29.015574] CPU: 3 PID: 2069 Comm: ip6tables-resto Tainted:
> > G W E 5.0.7 #1
>
> Does this problem go away when you apply this commit on top of 5.0.7?
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b8e204006340b7aaf32bd2b9806c692f6e0cb38a
>
> If not, can you send a minimal reproducer?

Indeed, the problem does not happen any more with this patch applied to
5.0.7. Thanks!

--
Frederik Himpe <fhimpe@xxxxxxxxxxxx>
Vrije Universiteit Brussel