All reports
Medium

kernel: net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21768

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels Some lwtunnels have a dst cache for post-transformation dst. If the packet destination did not change we may end up recording a reference to the lwtunnel in its own cache, and the lwtunnel state will never be freed. Discovered by the ioam6.sh test, kmemleak was recently fixed to catch per-cpu memory leaks. I'm not sure if rpl and seg6 can actually hit this, but in principle I don't see why not.

This is a memory leak vulnerability in the Linux kernel's Lightweight Tunnel (lwtunnel) subsystem. When triggered, it causes the lwtunnel state to never be freed, leading to gradual memory consumption over time. This can result in system performance degradation or resource exhaustion if the condition persists.