Skip to content
Commit c485c35f authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: nf_tables: possible module reference underflow in error path



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: 8cfd9b0f ("netfilter: nftables: generalize set expressions support")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 4963674c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment