]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NETFILTER: nf_conntrack_ipv6: fix crash when handling fragments
authorPatrick McHardy <kaber@trash.net>
Sat, 24 Mar 2007 20:22:33 +0000 (21:22 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sat, 24 Mar 2007 20:22:33 +0000 (21:22 +0100)
commitfbe2454a0d10bdbf27680d4bfc93cf0293bc6a6e
tree4811b3452b977969bba49a62f8f8b953d68e3143
parentae686b6a075bc8a95e8b4cda3f3eb4e8d5ac270c
NETFILTER: nf_conntrack_ipv6: fix crash when handling fragments

When IPv6 connection tracking splits up a defragmented packet into
its original fragments, the packets are taken from a list and are
passed to the network stack with skb->next still set. This causes
dev_hard_start_xmit to treat them as GSO fragments, resulting in
a use after free when connection tracking handles the next fragment.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/ipv6/netfilter/nf_conntrack_reasm.c