Re: NULL pointer dereference in nft_set_elem_destroy()
From: Dmitrii Tcvetkov
Date: Fri Mar 08 2019 - 16:35:44 EST
On Fri, 8 Mar 2019 11:50:39 +0100
Florian Westphal <fw@xxxxxxxxx> wrote:
> Dmitrii Tcvetkov <demfloro@xxxxxxxxxxx> wrote:
> > After upgrade to 5.0 on XPS 13 9360 I get NULL pointer dereference
> > in dmesg (attached). Distro is Arch Linux, kernel is built with
> > custom config (attached), but distro kernel[1] reproduces the issue
> > on the laptop as well.
> >
> > Bisect led me to commit f6ac858589768 (netfilter: nf_tables: unbind
> > set in rule from commit path), bisect log attached. The commit
> > doesn't revert cleanly on top of v5.0, and conflicts aren't trivial
> > for me to resolve.
>
> Please see
> https://patchwork.ozlabs.org/patch/1053232/
>
> this probably resolves this crash as well.
Thank you! With the patch nft loads ruleset fine.