What’s Vulnerable › Vulnerabilities
CVE-2025-38587: ipv6: fix possible infinite loop in fib6_info_uses_dev()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-19 · updated 2026-06-17
- Weakness: CWE-835
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 products
- Debian Linux: 11.0
- Linux kernel: from 6.1.128 before 6.1.148; from 6.6.75 before 6.6.102; from 6.11.11 before 6.12; from 6.12.2 before 6.12.42; from 6.13 before 6.15.10; from 6.16 before 6.16.1 — fixed in 6.1.148, 6.12, 6.12.42, 6.15.10, 6.16.1, 6.6.102
How to fix
Upgrade to a fixed version: Linux kernel 6.1.148, 6.12, 6.12.42, 6.15.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/16d21816c0918f8058b5fc14cbe8595d62046e2d
- https://git.kernel.org/stable/c/9cb6de8ee144a94ae7a40bdb32560329ab7276f0
- https://git.kernel.org/stable/c/bc85e62394f008fa848c4ba02c936c735a3e8ef5
- https://git.kernel.org/stable/c/db65739d406c72776fbdbbc334be827ef05880d2
- https://git.kernel.org/stable/c/e09be457b71b983a085312ff9e981f51e4ed3211
- https://git.kernel.org/stable/c/f8d8ce1b515a0a6af72b30502670a406cfb75073
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Get alerted when CVE-2025-38587 or the next vulnerability affects your stack