Re: [PATCH v2 net] netlink: Relax attr validation for fixed length types

2017-12-07 Thread David Miller
From: David Ahern Date: Wed, 6 Dec 2017 20:09:12 -0800 > Commit 28033ae4e0f5 ("net: netlink: Update attr validation to require > exact length for some types") requires attributes using types NLA_U* and > NLA_S* to have an exact length. This change is exposing bugs in various > userspace commands

[PATCH v2 net] netlink: Relax attr validation for fixed length types

2017-12-06 Thread David Ahern
Commit 28033ae4e0f5 ("net: netlink: Update attr validation to require exact length for some types") requires attributes using types NLA_U* and NLA_S* to have an exact length. This change is exposing bugs in various userspace commands that are sending attributes with an invalid length (e.g., attribu