]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nft_compat: use-after-free when deleting targets
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Feb 2019 12:03:53 +0000 (13:03 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Feb 2019 17:14:54 +0000 (18:14 +0100)
commit753c111f655e38bbd52fc01321266633f022ebe2
treed060b6607757bd234625b6bc2c9ffeccfbbf62f7
parent098e13f5b21d3398065fce8780f07a3ef62f4812
netfilter: nft_compat: use-after-free when deleting targets

Fetch pointer to module before target object is released.

Fixes: 29e3880109e3 ("netfilter: nf_tables: fix use-after-free when deleting compat expressions")
Fixes: 0ca743a55991 ("netfilter: nf_tables: add compatibility layer for x_tables")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_compat.c