In the Linux kernel, the following vulnerability has been resolved: ipv6: xfrm6: release dst on error in xfrm6_rcv_encap() xfrm6_rcv_encap() performs an IPv6 route lookup when the skb does not already have a dst attached. ip6_route_input_lookup() returns a referenced dst entry even when the lookup resolves to an error route. If dst->error is set, xfrm6_rcv_encap() drops the skb without attaching the dst to the skb and without releasing the reference returned by the lookup. Repeated packets hitting this path therefore leak dst entries. Release the dst before jumping to the drop path.
https://git.kernel.org/stable/c/c2efc4956981066df2fef1cc77391b523db6d8e4
https://git.kernel.org/stable/c/bc0fcb9823cd0894934cf968b525c575833d7078
https://git.kernel.org/stable/c/a20b34f6e854fe6f2aa82528fae7a88759919eb4
https://git.kernel.org/stable/c/a0721bcd72641c32b281f227a94505b31cf54117
https://git.kernel.org/stable/c/9d5047782f9bd2829e529df69209bf3232eb561f
https://git.kernel.org/stable/c/870560015ce6e0d8f841c6a8aba33c44be52c727
https://git.kernel.org/stable/c/6a5eec0a2a0e99ec9743cf8f1c4082178811d90a
https://git.kernel.org/stable/c/554c9b090c8ac5b1c5c507f4badf8d5d0c9c6e13