]> git.ipfire.org Git - people/ms/linux.git/commit
netfilter: Fix potential use after free in ip6_route_me_harder()
authorSergey Popovich <popovich_sergei@mail.ru>
Thu, 8 May 2014 13:22:35 +0000 (16:22 +0300)
committerJiri Slaby <jslaby@suse.cz>
Wed, 4 Jun 2014 14:57:04 +0000 (16:57 +0200)
commit2b713fc5d2da1dc1ec7ce894f2674d65cb47727f
tree5bca2571e04e5d97fc3fadb7ba55540b9bfdee08
parent97da00224a0f38adec8a020ad5d1135881510999
netfilter: Fix potential use after free in ip6_route_me_harder()

commit a8951d5814e1373807a94f79f7ccec7041325470 upstream.

Dst is released one line before we access it again with dst->error.

Fixes: 58e35d147128 netfilter: ipv6: propagate routing errors from
ip6_route_me_harder()

Signed-off-by: Sergey Popovich <popovich_sergei@mail.ru>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/ipv6/netfilter.c