Re: NULL pointer dereference in nft_set_elem_destroy()

From: Florian Westphal
Date: Fri Mar 08 2019 - 05:50:45 EST


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.