CVE-2025-38588 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ipv6: prevent infinite loop in rt6_nlmsg_size() While testing prior patch, I was able to trigger an infinite loop in rt6_nlmsg_size() in the following place: list_for_each_entry_rcu(sibling, &f6i->fib6_siblings, fib6_siblings) { rt6_nh_nlmsg_size(sibling->fib6_nh, &nexthop_len); } This is because fib6_del_route() and fib6_add_rt2node() uses list_del_rcu(), which can confuse rcu readers, because they might no longer see the head of the list. Restart the loop if f6i->fib6_nsiblings is zero.
A vulnerability in the Linux kernel's IPv6 routing implementation can lead to an infinite loop in the rt6_nlmsg_size() function. This issue arises because the functions fib6_del_route() and fib6_add_rt2node() use list_del_rcu(), which can disrupt the Read-Copy Update (RCU) mechanism by causing readers to lose track of the list's head. As a result, the loop may not terminate correctly, especially under conditions of high next-hop churn. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3c13db3e47e170bab19e574404e7b6be45ea873d | kernel.org | Patch |
| https://git.kernel.org/stable/c/46aeb66e9e54ed0d56c18615e1c3dbd502b327ab | kernel.org | Patch |
| https://git.kernel.org/stable/c/54e6fe9dd3b0e7c481c2228782c9494d653546da | kernel.org | Patch |
| https://git.kernel.org/stable/c/6d345136c9b875f065d226908a29c25cdf9343f8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e1b7932af47f92432be8303d2439d1bf77b0be23 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.1.128, < 6.1.148 >= 6.6.75, < 6.6.102 >= 6.11.11, < 6.12 >= 6.12.2, < 6.12.42 >= 6.13, < 6.15.10 >= 6.16, < 6.16.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Nov 5, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 7, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 19, 2025 | New CVE Received | kernel.org |