# ipv6: prevent infinite loop in rt6_nlmsg_size()

CVE record · `CVE-2025-38588`

- **Identifiers:** `CVE-2025-38588`
- **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 6d345136c9b875f065d226908a29c25cdf9343f8` (git)
  - affected: `52da02521ede55fb86546c3fffd9377b3261b91f to before e1b7932af47f92432be8303d2439d1bf77b0be23` (git)
  - affected: `34a949e7a0869dfa31a40416d2a56973fae1807b to before cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38` (git)
  - affected: `d9ccb18f83ea2bb654289b6ecf014fd267cc988b to before 3c13db3e47e170bab19e574404e7b6be45ea873d` (git)
  - affected: `d9ccb18f83ea2bb654289b6ecf014fd267cc988b to before 46aeb66e9e54ed0d56c18615e1c3dbd502b327ab` (git)
  - affected: `d9ccb18f83ea2bb654289b6ecf014fd267cc988b to before 54e6fe9dd3b0e7c481c2228782c9494d653546da` (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.

> Linux kernel IPv6 routing is vulnerable in rt6_nlmsg_size(), which can enter an infinite loop when walking the sibling list of a route. The source gives few details on how an attacker would trigger it. Upgrade to a fixed kernel: 6.13 or later within the 6.13 line, or the stable releases 6.1.148, 6.6.102, 6.12.42, or 6.15.10 and later in their respective 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-38588)
- 19 Aug 2025, 17:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38588)

## Sources

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

### References from the CNA

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

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-38588>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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