diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-01-14 23:53:39 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-01-17 12:02:50 +0100 |
commit | 3ce67e3793f48c1b9635beb9bb71116ca1e51b58 (patch) | |
tree | 3a484d2bb81d8b298a837928db751bc7a8646b05 /scripts/gdb/linux/tasks.py | |
parent | b1db244ffd041a49ecc9618e8feb6b5c1afcdaa7 (diff) | |
download | linux-stable-3ce67e3793f48c1b9635beb9bb71116ca1e51b58.tar.gz linux-stable-3ce67e3793f48c1b9635beb9bb71116ca1e51b58.tar.bz2 linux-stable-3ce67e3793f48c1b9635beb9bb71116ca1e51b58.zip |
netfilter: nf_tables: do not allow mismatch field size and set key length
The set description provides the size of each field in the set whose sum
should not mismatch the set key length, bail out otherwise.
I did not manage to crash nft_set_pipapo with mismatch fields and set key
length so far, but this is UB which must be disallowed.
Fixes: f3a2181e16f1 ("netfilter: nf_tables: Support for sets with multiple ranged fields")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions