[PATCH 5.15 150/215] ipv6: fix possible UAF in ip6_finish_output2()