[PATCH 6.10 183/273] ipv6: fix possible UAF in ip6_finish_output2()