diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index c7503fd64..c4687935d 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c @@ -1443,6 +1443,7 @@ static struct sctp_chunk *_sctp_make_chunk(const struct sctp_association *asoc, skb = alloc_skb(chunklen, gfp); if (!skb) goto nodata; + memset(skb, 0, chunklen); /* Make room for the chunk header. */ chunk_hdr = (struct sctp_chunkhdr *)skb_put(skb, sizeof(*chunk_hdr));