CVE-2025-38587
ipv6: fix possible infinite loop in fib6_info_uses_dev()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < bc85e62394f008fa848c4ba02c936c735a3e8ef5; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < 9cb6de8ee144a94ae7a40bdb32560329ab7276f0; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < db65739d406c72776fbdbbc334be827ef05880d2; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 16d21816c0918f8058b5fc14cbe8595d62046e2d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < e09be457b71b983a085312ff9e981f51e4ed3211; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < f8d8ce1b515a0a6af72b30502670a406cfb75073; 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, < bc85e62394f008fa848c4ba02c936c735a3e8ef5; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < 9cb6de8ee144a94ae7a40bdb32560329ab7276f0; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < db65739d406c72776fbdbbc334be827ef05880d2; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 16d21816c0918f8058b5fc14cbe8595d62046e2d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < e09be457b71b983a085312ff9e981f51e4ed3211; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < f8d8ce1b515a0a6af72b30502670a406cfb75073; 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 9cb6de8ee144a94ae7a40bdb32560329ab7276f0, Linux 16d21816c0918f8058b5fc14cbe8595d62046e2d, 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: fix possible infinite loop in fib6_info_uses_dev() fib6_info_uses_dev() seems to rely on RCU without an explicit protection. Like the prior fix in rt6_nlmsg_size(), we need to make sure fib6_del_route() or fib6_add_rt2node() have not removed the anchor from the list, or we risk an infinite loop.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < bc85e62394f008fa848c4ba02c936c735a3e8ef5; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < 9cb6de8ee144a94ae7a40bdb32560329ab7276f0; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < db65739d406c72776fbdbbc334be827ef05880d2; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 16d21816c0918f8058b5fc14cbe8595d62046e2d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < e09be457b71b983a085312ff9e981f51e4ed3211; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < f8d8ce1b515a0a6af72b30502670a406cfb75073; 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-38587. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38587.md Affected: Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < bc85e62394f008fa848c4ba02c936c735a3e8ef5; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < 9cb6de8ee144a94ae7a40bdb32560329ab7276f0; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < db65739d406c72776fbdbbc334be827ef05880d2; >= d9ccb18f83ea2bb654289b6… Fixed in: Linux 9cb6de8ee144a94ae7a40bdb32560329ab7276f0, Linux 16d21816c0918f8058b5fc14cbe8595d62046e2d, 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/bc85e62394f008fa848c4ba02c936c735a3e8ef5
- https://git.kernel.org/stable/c/9cb6de8ee144a94ae7a40bdb32560329ab7276f0
- https://git.kernel.org/stable/c/db65739d406c72776fbdbbc334be827ef05880d2
- https://git.kernel.org/stable/c/16d21816c0918f8058b5fc14cbe8595d62046e2d
- https://git.kernel.org/stable/c/e09be457b71b983a085312ff9e981f51e4ed3211
- https://git.kernel.org/stable/c/f8d8ce1b515a0a6af72b30502670a406cfb75073
FAQ
Is CVE-2025-38587 being exploited?
There is no confirmed exploitation: CVE-2025-38587 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-38587?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38587?
Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, < bc85e62394f008fa848c4ba02c936c735a3e8ef5; >= 52da02521ede55fb86546c3fffd9377b3261b91f, < 9cb6de8ee144a94ae7a40bdb32560329ab7276f0; >= 34a949e7a0869dfa31a40416d2a56973fae1807b, < db65739d406c72776fbdbbc334be827ef05880d2; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < 16d21816c0918f8058b5fc14cbe8595d62046e2d; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < e09be457b71b983a085312ff9e981f51e4ed3211; >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b, < f8d8ce1b515a0a6af72b30502670a406cfb75073; 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-38587?
Yes. Fixed in Linux 9cb6de8ee144a94ae7a40bdb32560329ab7276f0, Linux 16d21816c0918f8058b5fc14cbe8595d62046e2d, 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-38587?
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.