aboutsummaryrefslogtreecommitdiff
path: root/lib/bug.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-05 14:14:22 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-10 11:08:22 -0700
commit8b1d585987bbac55cde85650b47b8eaebce54e13 (patch)
tree83460691442029e951fef7553293a8775541ce1c /lib/bug.c
parent7dcca30a32aadb0520417521b0c44f42d09fe05c (diff)
NETFILTER: {ip, nf}_conntrack_sctp: fix remotely triggerable NULL ptr dereference (CVE-2007-2876)
When creating a new connection by sending an unknown chunk type, we don't transition to a valid state, causing a NULL pointer dereference in sctp_packet when accessing sctp_timeouts[SCTP_CONNTRACK_NONE]. Fix by don't creating new conntrack entry if initial state is invalid. Noticed by Vilmos Nebehaj <vilmos.nebehaj@ramsys.hu> CC: Kiran Kumar Immidi <immidi_kiran@yahoo.com> Cc: David Miller <davem@davemloft.net> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions