Files
linux/net
Eelco Chaudron 88906f5595 openvswitch: Stricter validation for the userspace action
This change enhances the robustness of validate_userspace() by ensuring
that all Netlink attributes are fully contained within the parent
attribute. The previous use of nla_parse_nested_deprecated() could
silently skip trailing or malformed attributes, as it stops parsing at
the first invalid entry.

By switching to nla_parse_deprecated_strict(), we make sure only fully
validated attributes are copied for later use.

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Ilya Maximets <i.maximets@ovn.org>
Link: https://patch.msgid.link/67eb414e2d250e8408bb8afeb982deca2ff2b10b.1747037304.git.echaudro@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-14 19:13:34 -07:00
..
2025-03-23 06:20:48 +09:00
2025-04-22 07:04:02 -07:00
2025-04-22 07:04:02 -07:00
2024-10-15 18:52:26 -07:00
2025-05-13 11:12:48 +02:00
2025-05-13 11:12:48 +02:00
2025-04-11 18:42:34 -07:00
2025-04-10 17:32:57 -07:00
2025-05-13 11:12:48 +02:00
2025-04-11 18:58:10 -07:00
2024-10-08 15:16:59 +02:00
2025-04-11 18:58:10 -07:00