CVE-2025-21768

published 27 Feb 2025 · updated 7 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.16, Kernel 6.13.4, Kernel 4c0f200c7d06fedddde82209c099014d63f4a6c0 and 6 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4.10 <6.12.16, >=6.13 <6.13.4, =6.14, >=6c8702c60b88651072460f3f4026c7dfe2521d12 <4c0f200c7d06fedddde82209c099014d63f4a6c0, >=6c8702c60b88651072460f3f4026c7dfe2521d12 <5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a, >=6c8702c60b88651072460f3f4026c7dfe2521d12 <92191dd1073088753821b862b791dcc83e558e07, >=6c8702c60b88651072460f3f4026c7dfe2521d12 <e2ef3fa31353b30bda94358fe5205c141289746d, =4.10, >=6c8702c60b88651072460f3f4026c7dfe2521d12 <26f0b472ae2a82920e38c7cf41583951046d586a6.12.16, 6.13.4, 4c0f200c7d06fedddde82209c099014d63f4a6c0, 5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a, 92191dd1073088753821b862b791dcc83e558e07, e2ef3fa31353b30bda94358fe5205c141289746d, 26f0b472ae2a82920e38c7cf41583951046d586a
linux-kernel: Kernel>=4.10.0 <6.1.191, >=6.13.0 <6.13.4, >=6.2.0 <6.6.160, >=6.7.0 <6.12.166.1.191, 6.13.4, 6.6.160, 6.12.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21768 severity on Zeptric[![CVE-2025-21768](https://zeptric.io/badge/cve/CVE-2025-21768.svg)](https://zeptric.io/cve/CVE-2025-21768)