CVE-2025-38588
ipv6: prevent infinite loop in rt6_nlmsg_size()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < 6d345136c9b875f065d226908a29c25cdf9343f8; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < e1b7932af47f92432be8303d2439d1bf77b0be23; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 3c13db3e47e170bab19e574404e7b6be45ea873d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 54e6fe9dd3b0e7c481c2228782c9494d653546da; 11edcd026012ac18acee0f1514db3ed1b160fc6f; >= 6.1.128, < 6.1.148; >= 6.6.75, < 6.6.102; >= 6.12.2, < 6.12.42; …
- Anyone running Linux 6.13
Vulnerability facts
- Affected
- Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < 6d345136c9b875f065d226908a29c25cdf9343f8; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < e1b7932af47f92432be8303d2439d1bf77b0be23; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 3c13db3e47e170bab19e574404e7b6be45ea873d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 54e6fe9dd3b0e7c481c2228782c9494d653546da; 11edcd026012ac18acee0f1514db3ed1b160fc6f; >= 6.1.128, < 6.1.148; >= 6.6.75, < 6.6.102; >= 6.12.2, < 6.12.42; …; Linux 6.13
- Fixed in
- Linux 6d345136c9b875f065d226908a29c25cdf9343f8, Linux 3c13db3e47e170bab19e574404e7b6be45ea873d, Linux 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab, Linux 54e6fe9dd3b0e7c481c2228782c9494d653546da, Linux 6.1.148, Linux 6.6.102, Linux 6.12.42
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-835
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < 6d345136c9b875f065d226908a29c25cdf9343f8; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < e1b7932af47f92432be8303d2439d1bf77b0be23; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 3c13db3e47e170bab19e574404e7b6be45ea873d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 54e6fe9dd3b0e7c481c2228782c9494d653546da; 11edcd026012ac18acee0f1514db3ed1b160fc6f; >= 6.1.128, < 6.1.148; >= 6.6.75, < 6.6.102; >= 6.12.2, < 6.12.42; … | — | cvelist |
| Linux | 6.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38588. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38588.md Affected: Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < 6d345136c9b875f065d226908a29c25cdf9343f8; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < e1b7932af47f92432be8303d2439d1bf77b0be23; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38; >= d9ccb18f83ea2bb654289b6… Fixed in: Linux 6d345136c9b875f065d226908a29c25cdf9343f8, Linux 3c13db3e47e170bab19e574404e7b6be45ea873d, Linux 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab, Linux 54e6fe9dd3b0e7c481c2228782c9494d653546da, Linux 6.1.148, Linux 6.6.102, Linux 6.12.42 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/6d345136c9b875f065d226908a29c25cdf9343f8
- https://git.kernel.org/stable/c/e1b7932af47f92432be8303d2439d1bf77b0be23
- https://git.kernel.org/stable/c/cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38
- https://git.kernel.org/stable/c/3c13db3e47e170bab19e574404e7b6be45ea873d
- https://git.kernel.org/stable/c/46aeb66e9e54ed0d56c18615e1c3dbd502b327ab
- https://git.kernel.org/stable/c/54e6fe9dd3b0e7c481c2228782c9494d653546da
FAQ
Is CVE-2025-38588 being exploited?
There is no confirmed exploitation: CVE-2025-38588 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38588?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38588?
Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < 6d345136c9b875f065d226908a29c25cdf9343f8; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < e1b7932af47f92432be8303d2439d1bf77b0be23; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 3c13db3e47e170bab19e574404e7b6be45ea873d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 54e6fe9dd3b0e7c481c2228782c9494d653546da; 11edcd026012ac18acee0f1514db3ed1b160fc6f; >= 6.1.128, < 6.1.148; >= 6.6.75, < 6.6.102; >= 6.12.2, < 6.12.42; …; Linux 6.13.
Is there a fix for CVE-2025-38588?
Yes. Fixed in Linux 6d345136c9b875f065d226908a29c25cdf9343f8, Linux 3c13db3e47e170bab19e574404e7b6be45ea873d, Linux 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab, Linux 54e6fe9dd3b0e7c481c2228782c9494d653546da, Linux 6.1.148, Linux 6.6.102, Linux 6.12.42. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38588?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.