[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081225.165833.216057003.davem@davemloft.net>
Date: Thu, 25 Dec 2008 16:58:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vladislav.yasevich@...com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
yjwei@...fujitsu.com
Subject: Re: [PATCH net-next 4/5] sctp: Avoid memory overflow while FWD-TSN
chunk is received with bad stream ID
From: Vlad Yasevich <vladislav.yasevich@...com>
Date: Fri, 19 Dec 2008 20:47:51 -0500
> If FWD-TSN chunk is received with bad stream ID, the sctp will not do the
> validity check, this may cause memory overflow when overwrite the TSN of
> the stream ID.
>
> The FORWARD-TSN chunk is like this:
>
> FORWARD-TSN chunk
> Type = 192
> Flags = 0
> Length = 172
> NewTSN = 99
> Stream = 10000
> StreamSequence = 0xFFFF
>
> This patch fix this problem by discard the chunk if stream ID is not
> less than MIS.
>
> Signed-off-by: Wei Yongjun <yjwei@...fujitsu.com>
> Signed-off-by: Vlad Yasevich <vladislav.yasevich@...com>
Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists