CVE-2025-38588
ipv6: prevent infinite loop in rt6_nlmsg_size()
Reported by linux · Published August 19, 2025
In the Linux kernel, the following vulnerability has been resolved: ipv6: prevent infinite loop in rt6_nlmsg_size() While testing prior patch, I was able to trigger an infinite loop in rt6_nlmsg_size() in the following place: list_for_each_entry_rcu(sibling, &f6i->fib6_siblings, fib6_siblings) { rt6_nh_nlmsg_size(sibling->fib6_nh, &nexthop_len); } This is because fib6_del_route() and fib6_add_rt2node() uses list_del_rcu(), which can confuse rcu readers, because they might no longer see the head of the list. Restart the loop if f6i->fib6_nsiblings is zero.
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 | Linux | e1b7932af47f92432be8303d2439d1bf77b0be23, cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38, 6d345136c9b875f065d226908a29c25cdf9343f8, 6.13, 3c13db3e47e170bab19e574404e7b6be45ea873d |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, 52da02521ede55fb86546c3fffd9377b3261b91f, 34a949e7a0869dfa31a40416d2a56973fae1807b |
| Linux | Linux | 6.13, 0, 6.1.148 |
| Linux | Linux | 52da02521ede55fb86546c3fffd9377b3261b91f, 6.17, * |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.148-173.267 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-livepatch-6.12.46-66.121 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| linux | linux_kernel | 6.1.128, 6.11.11, 6.6.75 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
…and 12 more
Timeline
- Aug 19, 2025 CVE Published
- Aug 20, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (17 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (180 in total, the first dated here)
- Mar 29, 2026 Security Advisory (204 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38588
vulnetix vdb fixes CVE-2025-38588
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-38588/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart