]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] NETFILTER: SCTP conntrack: fix crash triggered by packet without chunks ...
authorPatrick McHardy <kaber@trash.net>
Fri, 30 Jun 2006 03:33:12 +0000 (05:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Jun 2006 21:06:52 +0000 (14:06 -0700)
commit70a00d8615ea4c408978d6efc23c89d4e7c12518
tree20f792d0ca0ca310ad64952d71b0c743b3a75824
parentea144a8cff7622fba2c1083e760bd18605ecd6b4
[PATCH] NETFILTER: SCTP conntrack: fix crash triggered by packet without chunks [CVE-2006-2934]

When a packet without any chunks is received, the newconntrack variable
in sctp_packet contains an out of bounds value that is used to look up an
pointer from the array of timeouts, which is then dereferenced, resulting
in a crash. Make sure at least a single chunk is present.

Problem noticed by George A. Theall <theall@tenablesecurity.com>

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/netfilter/ip_conntrack_proto_sctp.c
net/netfilter/nf_conntrack_proto_sctp.c