ipv6: xfrm6: release dst on error in xfrm6_rcv_encap()
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
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.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/554c9b090c8ac5b1c5c507f4badf8d5d0c9c6e13https://git.kernel.org/stable/c/6a5eec0a2a0e99ec9743cf8f1c4082178811d90ahttps://git.kernel.org/stable/c/870560015ce6e0d8f841c6a8aba33c44be52c727https://git.kernel.org/stable/c/9d5047782f9bd2829e529df69209bf3232eb561fhttps://git.kernel.org/stable/c/a0721bcd72641c32b281f227a94505b31cf54117https://git.kernel.org/stable/c/a20b34f6e854fe6f2aa82528fae7a88759919eb4https://git.kernel.org/stable/c/bc0fcb9823cd0894934cf968b525c575833d7078https://git.kernel.org/stable/c/c2efc4956981066df2fef1cc77391b523db6d8e4