]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/ipv6/netfilter.c
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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 9 May 2014 00:36:39 +0000 (02:36 +0200)
commita8951d5814e1373807a94f79f7ccec7041325470
tree82dc123ddf5c311da0aa68411180a8bb7b84a122
parentaff09ce303f83bd370772349238482ae422a2341
netfilter: Fix potential use after free in ip6_route_me_harder()

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>
net/ipv6/netfilter.c