diff options
| author | Eelco Chaudron <[email protected]> | 2025-05-12 08:08:24 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-15 02:13:34 +0000 |
| commit | 88906f55954131ed2d3974e044b7fb48129b86ae (patch) | |
| tree | 75e21063a7332ec309de95b6b8c8984765fd2e27 /kernel/trace/trace_functions.c | |
| parent | net: phy: remove Kconfig symbol MDIO_DEVRES (diff) | |
| download | kernel-88906f55954131ed2d3974e044b7fb48129b86ae.tar.gz kernel-88906f55954131ed2d3974e044b7fb48129b86ae.zip | |
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Ilya Maximets <[email protected]>
Link: https://patch.msgid.link/67eb414e2d250e8408bb8afeb982deca2ff2b10b.1747037304.git.echaudro@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions
