Skip to main content
← All vulnerabilities
CVE-2025-21768

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.160, 6.12.16, 6.13.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    4.10

  • KernelLinux

    From 4.10.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.16; From 6.13.0 · fixed in 6.13.4

References 5

git.kernel.org