netfilter: nf_tables: validate catch-all set elements

[ Upstream commit d46fc89414 ]

catch-all set element might jump/goto to chain that uses expressions
that require validation.

Fixes: aaa31047a6 ("netfilter: nftables: add catch-all set element support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Pablo Neira Ayuso 2023-04-17 12:14:29 +02:00 • committed by Greg Kroah-Hartman
commit ef87cd8132
3 changed files with 66 additions and 38 deletions