KernelScan.io

HIGH

net/ipv6 Route Leak

CVE-2026-46172

CVSS 7.5 / 10.0 KernelScan AI

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

01

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.

02

Engine v0.2.0

Risk summary

Remote attackers can cause memory exhaustion by sending IPv6 packets that trigger routing errors in XFRM encapsulation processing. The leaked dst entries accumulate over time and can lead to system denial of service through memory depletion.

Affectednet/ipv6/xfrm6_protocol.c (IPv6 XFRM)

Vulnerability analysis

The vulnerability occurs in xfrm6_rcv_encap() when processing IPv6 packets for XFRM/IPsec encapsulation. When ip6_route_input_lookup() returns an error route (dst->error set), the function drops the packet but fails to release the dst reference count. Each malformed packet hitting this path leaks one dst entry. The fix adds dst_release(dst) before the drop path to properly manage the reference count. Attack surface includes any system with IPv6 and XFRM enabled that processes network packets.

03

BranchFixed inPatch commit
5.105.10.258a0721bcd7264
5.155.15.209a20b34f6e854
6.16.1.175870560015ce6
6.126.12.88554c9b090c8a
6.186.18.309d5047782f9b
6.66.6.140c2efc4956981
7.07.0.76a5eec0a2a0e
mainline7.1-rc3bc0fcb9823cd