diff options
author | Florian Westphal <fw@strlen.de> | 2022-08-20 18:54:06 +0300 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-08-23 22:24:34 +0300 |
commit | 18bbc3213383a82b05383827f4b1b882e3f0a5a5 (patch) | |
tree | 26006a63f818301339915afbd8bfe501c8602a81 /net/ethtool | |
parent | cf97769c761abfeac8931b35fe0e1a8d5fabc9d8 (diff) | |
download | linux-18bbc3213383a82b05383827f4b1b882e3f0a5a5.tar.xz |
netfilter: nft_tproxy: restrict to prerouting hook
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: 4ed8eb6570a4 ("netfilter: nf_tables: Add native tproxy support")
Reported-by: Shell Chen <xierch@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions