Files
linux/net
Lin Ma 479884b4ce net: af_key: fix sadb_x_filter validation
[ Upstream commit 75065a8929 ]

When running xfrm_state_walk_init(), the xfrm_address_filter being used
is okay to have a splen/dplen that equals to sizeof(xfrm_address_t)<<3.
This commit replaces >= to > to make sure the boundary checking is
correct.

Fixes: 37bd22420f ("af_key: pfkey_dump needs parameter validation")
Signed-off-by: Lin Ma <linma@zju.edu.cn>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-23 17:52:32 +02:00
..
2023-06-09 10:34:16 +02:00
2022-02-25 09:36:06 +01:00
2023-07-27 08:50:27 +02:00
2023-03-22 13:33:50 +01:00
2023-05-17 11:53:35 +02:00
2022-08-22 14:26:30 +01:00
2022-08-22 14:26:30 +01:00