Files
linux/net
Fernando Fernandez Mancera fa8fca8871 ipv4: validate IPV4_DEVCONF attributes properly
As the IPV4_DEVCONF netlink attributes are not being validated, it is
possible to use netlink to set read-only values like mc_forwarding. In
addition, valid ranges are not being validated neither but that is less
relevant as they aren't in sysctl.

To avoid similar situations in the future, define a NLA policy for
IPV4_DEVCONF attributes which are nested in IFLA_INET_CONF.

Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Link: https://patch.msgid.link/20260312142637.5704-1-fmancera@suse.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-03-14 09:52:30 -07:00
..
2026-03-09 19:07:38 -07:00
2026-02-27 17:24:58 -08:00
2026-03-02 18:48:43 -08:00
2026-03-12 19:29:01 -07:00
2026-03-13 18:57:44 -07:00
2024-10-08 15:16:59 +02:00
2025-09-18 12:32:06 +02:00