CVE-2025-21768
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6c8702c60b88651072460f3f4026c7dfe2521d12 before 26f0b472ae2a82920e38c7cf41583951046d586a, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before e2ef3fa31353b30bda94358fe5205c141289746d, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 4c0f200c7d06fedddde82209c099014d63f4a6c0, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 92191dd1073088753821b862b791dcc83e558e07, 4.10
Not affected: before 4.10, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.16 up to 6.12.*, from 6.13.4 up to 6.13.*, from 6.14 up to *
CVE List
linux linux_kernelfrom 4.10 before 6.12.16, from 6.13 before 6.13.4, 6.14NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: ipv6: arreglo de bucles de referencia dst en lwtunnels rpl, seg6 y ioam6 Algunos lwtunnels tienen una caché dst para dst posterior a la transformación. Si el destino del paquete no cambió, podemos terminar registrando una referencia al lwtunnel en su propia caché, y el estado del lwtunnel nunca se liberará. Descubierto por la prueba ioam6.sh, kmemleak se corrigió recientemente para detectar fugas de memoria por CPU. No estoy seguro de si rpl y seg6 realmente pueden alcanzar esto, pero en principio no veo por qué no.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21768 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-21768 changed 2026-11-05Public domain