CVE-2025-21768

Source
https://cve.org/CVERecord?id=CVE-2025-21768
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21768.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21768
Downstream
AZL (2)
BELL (1)
DEBIAN (1)
ECHO (1)
MINI (1)
ROOT (4)
SUSE (12)
UBUNTU (1)
Related
Published
2025-02-27T02:18:17Z
Modified
2026-10-22T10:36:07Z
Summary
net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21768.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6c8702c60b88651072460f3f4026c7dfe2521d12
Fixed
e2ef3fa31353b30bda94358fe5205c141289746d
Fixed
5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a
Fixed
4c0f200c7d06fedddde82209c099014d63f4a6c0
Fixed
92191dd1073088753821b862b791dcc83e558e07

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21768.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
6.6.160
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.16
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21768.json"