CVE-2025-21768

Source
https://nvd.nist.gov/vuln/detail/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
Related
Published
2025-02-27T02:18:17.553Z
Modified
2025-11-27T02:32:51.945381Z
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/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/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
5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6c8702c60b88651072460f3f4026c7dfe2521d12
Fixed
4c0f200c7d06fedddde82209c099014d63f4a6c0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6c8702c60b88651072460f3f4026c7dfe2521d12
Fixed
92191dd1073088753821b862b791dcc83e558e07

Linux / Kernel

Package

Name
Kernel

Affected ranges

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