bridge: Fix missing Netlink message validations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | bridge: Validate IFLA_BRIDGE_FLAGS attribute lengthnet/ | +6 | 0 replies | |
| 2/5 | net: Validate IFLA_BRIDGE_MODE attribute lengthdrivers/ drivers/ | +6 | 2 replies | |
| 3/5 | net: Check for presence of IFLA_AF_SPECdrivers/ drivers/ | +4 | 1 reply | |
| 4/5 | bridge: Add missing policy entry for IFLA_BRPORT_FAST_LEAVEnet/ | +1 | 0 replies | |
| 5/5 | bridge: Sanitize IFLA_EXT_MASK for AF_BRIDGE:RTM_GETLINKnet/ | +12 | 0 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Jeff Kirsher | John Fastabend |
|---|---|---|
| 1/5 | ||
| 2/5 | A-b | A-b |
| 3/5 | A-b | |
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5 net] bridge: Fix missing Netlink message validations
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(-)
Signature · 1 line
1.9.3