sctp: add some size validations
Status from this message: This series was applied to netdev/net.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sctp: validate from_addr_param returninclude/ net/ net/ +3 more | +44 | 2 replies | Applied |
| 2/4 | sctp: add size validation when walking chunksnet/ | +1 | 0 replies | Applied |
| 3/4 | sctp: validate chunk size in __rcv_asconf_lookupnet/ | +3 | 0 replies | Applied |
| 4/4 | sctp: add param size validation for SCTP_PARAM_SET_PRIMARYnet/ | +10 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/4] sctp: add some size validations
Ilja Van Sprundel reported that some size validations on inbound SCTP packets were missing. After some code review, I noticed two others that are all fixed here.
Thanks Ilja for reporting this.
Marcelo Ricardo Leitner (4):
sctp: validate from_addr_param return
sctp: add size validation when walking chunks
sctp: validate chunk size in __rcv_asconf_lookup
sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
include/net/sctp/structs.h | 2 +- net/sctp/bind_addr.c | 19 +++++++++-------- net/sctp/input.c | 11 +++++++--- net/sctp/ipv6.c | 7 ++++++- net/sctp/protocol.c | 7 ++++++- net/sctp/sm_make_chunk.c | 42 +++++++++++++++++++++++--------------- 6 files changed, 58 insertions(+), 30 deletions(-)
Signature · 1 line
2.31.1