# ipv6: fix possible infinite loop in fib6_info_uses_dev()

CVE record · `CVE-2025-38587`

- **Identifiers:** `CVE-2025-38587`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 19 Aug 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 19 Aug 2025, 17:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2 to before bc85e62394f008fa848c4ba02c936c735a3e8ef5` (git)
  - affected: `52da02521ede55fb86546c3fffd9377b3261b91f to before 9cb6de8ee144a94ae7a40bdb32560329ab7276f0` (git)
  - affected: `34a949e7a0869dfa31a40416d2a56973fae1807b to before db65739d406c72776fbdbbc334be827ef05880d2` (git)
  - affected: `d9ccb18f83ea2bb654289b6ecf014fd267cc988b to before 16d21816c0918f8058b5fc14cbe8595d62046e2d` (git)
  - affected: `d9ccb18f83ea2bb654289b6ecf014fd267cc988b to before e09be457b71b983a085312ff9e981f51e4ed3211` (git)
  - affected: `d9ccb18f83ea2bb654289b6ecf014fd267cc988b to before f8d8ce1b515a0a6af72b30502670a406cfb75073` (git)
  - affected: `11edcd026012ac18acee0f1514db3ed1b160fc6f` (git)
  - affected: `6.1.128 to before 6.1.148` (semver)
  - affected: `6.6.75 to before 6.6.102` (semver)
  - affected: `6.12.2 to before 6.12.42` (semver)
  - affected: `6.11.11 to before 6.12` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.13`
  - unaffected: `before 6.13` (semver)
  - unaffected: `6.1.148 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.102 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.42 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.10 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16.1 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel IPv6 routing code can loop indefinitely in fib6_info_uses_dev(), which reads routing list entries under RCU without explicit protection, so entries removed concurrently can break the traversal. The source gives few details on what an attacker needs. Upgrade to a fixed stable release, such as 6.1.148, 6.6.102, 6.12.42 or 6.15.10 or later in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 8th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 19 Aug 2025, 17:03 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38587)
- 19 Aug 2025, 17:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38587)

## Sources

- [CVE List: CVE-2025-38587](https://www.cve.org/CVERecord?id=CVE-2025-38587)
- [NVD: CVE-2025-38587](https://nvd.nist.gov/vuln/detail/CVE-2025-38587)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38587>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38587/>. Everything for agents: <https://agentprime.io/llms.txt>.
