CVE-2025-21768
net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels
Reported by linux · Published February 27, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.13.4, 6.12.16 |
| Linux | Linux | 4.10 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6c8702c60b88651072460f3f4026c7dfe2521d12, 6c8702c60b88651072460f3f4026c7dfe2521d12, 6c8702c60b88651072460f3f4026c7dfe2521d12 |
| Linux | Linux | 4.10, 0, 6.1.191 |
| Linux | Linux | 6.14, 0, 6.1.191 |
| linux | linux_kernel | 4.10, 4.10, 4.10 |
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- Feb 28, 2025 Coalition ESS Score (15 in total, the first dated here)
- Dec 22, 2025 Security Advisory (372 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (327 in total, the first dated here)
- Nov 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21768
vulnetix vdb fixes CVE-2025-21768
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21768/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart