]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: validate registers coming from userspace.
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 17 Mar 2022 10:59:26 +0000 (11:59 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 17 Mar 2022 13:06:14 +0000 (14:06 +0100)
commitbfcfe6b3cdd49aec05edc762572828e0e1d9c7e3
treefffcf2ade8b1d5b546bd4fe2b487bef64505ab8f
parent1e8305b9f720a2df8d3f2f3eef31313adedb3805
netfilter: nf_tables: validate registers coming from userspace.

Bail out in case userspace uses unsupported registers.

Fixes: 73590c994412 ("netfilter: nf_tables: switch registers to 32 bit addressing")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c