summaryrefslogtreecommitdiff
path: root/fs/ocfs2/stack_user.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-11-14 15:47:18 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-11-16 10:26:42 -0800
commit1ca9e250e9f8675dc1db7fcd1cee8c0bf0bfc071 (patch)
tree54a318d68306063ffca50510ec4c5339a5f2edc2 /fs/ocfs2/stack_user.c
parent5ef016ad9ba96a77a7249a2bd8d3196af5bfd920 (diff)
TCP: Make sure write_queue_from does not begin with NULL ptr (CVE-2007-5501)
patch 96a2d41a3e495734b63bff4e5dd0112741b93b38 in mainline. NULL ptr can be returned from tcp_write_queue_head to cached_skb and then assigned to skb if packets_out was zero. Without this, system is vulnerable to a carefully crafted ACKs which obviously is remotely triggerable. Besides, there's very little that needs to be done in sacktag if there weren't any packets outstanding, just skipping the rest doesn't hurt. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/ocfs2/stack_user.c')
0 files changed, 0 insertions, 0 deletions