net: Length checks for attributes within multipath routes
Status from this message: This series was applied to netdev/net.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ipv4: Check attribute length for RTA_GATEWAY in multipath routenet/ | +26 | 0 replies | Applied |
| 2/5 | ipv4: Check attribute length for RTA_FLOW in multipath routenet/ | +14 | 0 replies | Applied |
| 3/5 | ipv6: Check attribute length for RTA_GATEWAY in multipath routenet/ | +20 | 2 replies | Applied |
| 4/5 | ipv6: Check attribute length for RTA_GATEWAY when deleting multipath routenet/ | +5 | 1 reply | Applied |
| 5/5 | lwtunnel: Validate RTA_ENCAP_TYPE attribute lengthnet/ net/ net/ | +11 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/5] net: Length checks for attributes within multipath routes
Add length checks for attributes within a multipath route (attributes within RTA_MULTIPATH). Motivated by the syzbot report in patch 1 and then expanded to other attributes as noted by Ido.
David Ahern (5):
ipv4: Check attribute length for RTA_GATEWAY in multipath route
ipv4: Check attribute length for RTA_FLOW in multipath route
ipv6: Check attribute length for RTA_GATEWAY in multipath route
ipv6: Check attribute length for RTA_GATEWAY when deleting multipath
route
lwtunnel: Validate RTA_ENCAP_TYPE attribute is at least 2 bytes
net/core/lwtunnel.c | 4 ++++ net/ipv4/fib_semantics.c | 49 +++++++++++++++++++++++++++++++++++----- net/ipv6/route.c | 31 +++++++++++++++++++++++-- 3 files changed, 76 insertions(+), 8 deletions(-)
Signature · 1 line
2.24.3 (Apple Git-128)