mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
netfilter: nft_tproxy: restrict to prerouting hook
[ Upstream commit18bbc32133] TPROXY is only allowed from prerouting, but nft_tproxy doesn't check this. This fixes a crash (null dereference) when using tproxy from e.g. output. Fixes:4ed8eb6570("netfilter: nf_tables: Add native tproxy support") Reported-by: Shell Chen <xierch@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e53cfa017b
commit
343fed6b0d
1 changed files with 8 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue