aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-01-20 14:08:01 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-24 16:36:18 -0800
commit82e1a122a1b01eef12fccecde30b7e7fbf4ece0e (patch)
treeecd45be0e91c9b0502683b33dd29bfde1b5bd3a2 /scripts/patch-kernel
parent9c55cc941932c42eebc839feb87e2b9ff1e64a5e (diff)
sctp: Avoid memory overflow while FWD-TSN chunk is received with bad stream ID
[ Upstream commit: 9fcb95a105758b81ef0131cd18e2db5149f13e95 ] 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@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions