Re: [PATCH 2/5] net: Validate IFLA_BRIDGE_MODE attribute length
From: Jeff Kirsher <hidden>
Date: 2014-11-26 13:29:45
From: Jeff Kirsher <hidden>
Date: 2014-11-26 13:29:45
On Wed, Nov 26, 2014 at 4:42 AM, Thomas Graf [off-list ref] wrote:
Payload is currently accessed blindly and may exceed valid message
boundaries.
Fixes: a77dcb8c8 ("be2net: set and query VEB/VEPA mode of the PF interface")
Fixes: 815cccbf1 ("ixgbe: add setlink, getlink support to ixgbe and ixgbevf")
Cc: Ajit Khaparde <redacted>
Cc: John Fastabend <redacted>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
---
drivers/net/ethernet/emulex/benet/be_main.c | 3 +++
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 +++
2 files changed, 6 insertions(+)Acked-by: Jeff Kirsher <redacted>