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

CVE-2025-21768
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.25 % · centile 17 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 26f0b472ae2a82920e38c7cf41583951046d586a ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < e2ef3fa31353b30bda94358fe5205c141289746d ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 4c0f200c7d06fedddde82209c099014d63f4a6c0 ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 92191dd1073088753821b862b791dcc83e558e07
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.16 ≤ 6.12.* ; unaffected 6.13.4 ≤ 6.13.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD