aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-02-02 00:05:23 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2024-02-07 22:02:52 +0100
commitd694b754894c93fb4d71a7f3699439dec111decc (patch)
treef264d8af0545c363bbf1f6d14fd2fbd163266760 /rust/kernel/ssh:/git@git.zx2c4.com/git:
parentnetfilter: nft_compat: reject unused compat flag (diff)
netfilter: nft_compat: restrict match/target protocol to u16
xt_check_{match,target} expects u16, but NFTA_RULE_COMPAT_PROTO is u32. NLA_POLICY_MAX(NLA_BE32, 65535) cannot be used because .max in nla_policy is s16, see 3e48be05f3c7 ("netlink: add attribute range validation to policy"). Fixes: 0ca743a55991 ("netfilter: nf_tables: add compatibility layer for x_tables") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions