Pablo Neira Ayuso
c1be9784f3
netfilter: nf_tables: validate NFPROTO_* family
...
[ Upstream commit d0009effa8862c20a13af4cb7475d9771b905693 ]
Several expressions explicitly refer to NF_INET_* hook definitions
from expr->ops->validate, however, family is not validated.
Bail out with EOPNOTSUPP in case they are used from unsupported
families.
Fixes: 0ca743a55991 ("netfilter: nf_tables: add compatibility layer for x_tables")
Fixes: a3c90f7a2323 ("netfilter: nf_tables: flow offload expression")
Fixes: 2fa841938c64 ("netfilter: nf_tables: introduce routing expression")
Fixes: 554ced0a6e29 ("netfilter: nf_tables: add support for native socket matching")
Fixes: ad49d86e07a4 ("netfilter: nf_tables: Add synproxy support")
Fixes: 4ed8eb6570a4 ("netfilter: nf_tables: Add native tproxy support")
Fixes: 6c47260250fc ("netfilter: nf_tables: add xfrm expression")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-31 16:19:03 -08:00
..
2024-01-01 12:42:41 +00:00
2024-01-31 16:19:01 -08:00
2023-12-20 17:01:50 +01:00
2023-12-20 17:01:48 +01:00
2023-09-18 12:56:58 +01:00
2023-08-24 10:51:39 -07:00
2024-01-25 15:35:46 -08:00
2023-08-30 08:36:17 +02:00
2023-05-31 13:06:57 +02:00
2024-01-25 15:35:59 -08:00
2023-06-24 15:50:13 -07:00
2023-10-06 12:54:33 +02:00
2023-10-09 13:35:24 +02:00
2024-01-31 16:19:01 -08:00
2023-08-01 21:07:46 -07:00
2023-11-20 11:59:35 +01:00
2023-10-06 15:56:46 -07:00
2024-01-25 15:35:41 -08:00
2023-08-09 13:08:09 -07:00
2024-01-25 15:36:00 -08:00
2023-10-23 10:19:33 -07:00
2023-11-20 11:59:34 +01:00
2023-08-29 17:39:15 -07:00
2024-01-01 12:42:30 +00:00
2024-01-31 16:19:02 -08:00
2024-01-31 16:19:02 -08:00
2023-09-14 10:43:51 +02:00
2023-08-18 12:44:56 -07:00
2023-11-20 11:58:56 +01:00
2024-01-31 16:19:01 -08:00
2024-01-31 16:19:00 -08:00
2023-06-24 15:41:46 -07:00
2023-10-10 19:43:22 -07:00
2023-08-15 15:26:18 -07:00
2024-01-25 15:35:59 -08:00
2024-01-25 15:35:20 -08:00
2024-01-31 16:19:03 -08:00
2024-01-25 15:35:14 -08:00
2024-01-31 16:19:02 -08:00
2023-08-28 06:58:46 +01:00
2024-01-20 11:51:46 +01:00
2023-06-10 00:11:41 -07:00
2023-11-20 11:59:37 +01:00
2023-12-13 18:45:23 +01:00
2023-06-24 15:50:13 -07:00
2023-12-13 18:45:10 +01:00
2024-01-20 11:51:47 +01:00
2024-01-31 16:19:01 -08:00
2024-01-01 12:42:41 +00:00
2024-01-01 12:42:31 +00:00
2024-01-25 15:35:56 -08:00
2024-01-31 16:19:02 -08:00
2024-01-25 15:35:30 -08:00
2024-01-31 16:19:00 -08:00
2024-01-31 16:19:00 -08:00
2023-07-21 08:54:03 +01:00
2023-11-28 17:19:51 +00:00
2024-01-25 15:35:58 -08:00
2024-01-25 15:35:30 -08:00
2024-01-25 15:35:26 -08:00
2024-01-25 15:35:30 -08:00
2023-06-24 15:50:13 -07:00
2024-01-10 17:16:54 +01:00
2023-10-17 18:21:13 -07:00
2023-07-19 10:07:27 -07:00
2024-01-10 17:16:51 +01:00
2023-08-15 15:26:17 -07:00