netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5 net] bridge: Fix missing Netlink message validations
@ 2014-11-26 12:42 Thomas Graf
  2014-11-26 12:42 ` [PATCH 1/5] bridge: Validate IFLA_BRIDGE_FLAGS attribute length Thomas Graf
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Thomas Graf @ 2014-11-26 12:42 UTC (permalink / raw)
  To: davem; +Cc: stephen, netdev

Adds various missing length checks in the bridging code for Netlink
messages and corresponding attributes provided by user space.

Thomas Graf (5):
  bridge: Validate IFLA_BRIDGE_FLAGS attribute length
  net: Validate IFLA_BRIDGE_MODE attribute length
  net: Check for presence of IFLA_AF_SPEC
  bridge: Add missing policy entry for IFLA_BRPORT_FAST_LEAVE
  bridge: Sanitize IFLA_EXT_MASK for AF_BRIDGE:RTM_GETLINK

 drivers/net/ethernet/emulex/benet/be_main.c   |  5 +++++
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  5 +++++
 net/bridge/br_netlink.c                       |  1 +
 net/core/rtnetlink.c                          | 23 ++++++++++++++++++-----
 4 files changed, 29 insertions(+), 5 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-11-29 17:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26 12:42 [PATCH 0/5 net] bridge: Fix missing Netlink message validations Thomas Graf
2014-11-26 12:42 ` [PATCH 1/5] bridge: Validate IFLA_BRIDGE_FLAGS attribute length Thomas Graf
2014-11-26 12:42 ` [PATCH 2/5] net: Validate IFLA_BRIDGE_MODE " Thomas Graf
2014-11-26 13:29   ` Jeff Kirsher
2014-11-26 16:42   ` John Fastabend
2014-11-26 12:42 ` [PATCH 3/5] net: Check for presence of IFLA_AF_SPEC Thomas Graf
2014-11-26 13:30   ` Jeff Kirsher
2014-11-26 12:42 ` [PATCH 4/5] bridge: Add missing policy entry for IFLA_BRPORT_FAST_LEAVE Thomas Graf
2014-11-26 12:42 ` [PATCH 5/5] bridge: Sanitize IFLA_EXT_MASK for AF_BRIDGE:RTM_GETLINK Thomas Graf
2014-11-26 16:58 ` [PATCH 0/5 net] bridge: Fix missing Netlink message validations John Fastabend
2014-11-26 17:06   ` Thomas Graf
2014-11-26 17:25     ` John Fastabend
2014-11-26 23:14       ` Thomas Graf
2014-11-29 17:51         ` John Fastabend
2014-11-26 20:29 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).