mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
netfilter: nf_tables: possible module reference underflow in error path
commitc485c35ff6upstream. dst->ops is set on when nft_expr_clone() fails, but module refcount has not been bumped yet, therefore nft_expr_destroy() leads to module reference underflow. Fixes:8cfd9b0f85("netfilter: nftables: generalize set expressions support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4fe99df734
commit
1e52e6cfec
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue