VDB

CVE-2025-38588

CVE-2025-38588 PUBLISHED

ipv6: prevent infinite loop in rt6_nlmsg_size()

Reported by linux · Published August 19, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxe1b7932af47f92432be8303d2439d1bf77b0be23, cd8d8bbd9ced4cc5d06d858f67d4aa87745e8f38, 6d345136c9b875f065d226908a29c25cdf9343f8, 6.13, 3c13db3e47e170bab19e574404e7b6be45ea873d

Affected products

VendorProductVersions
LinuxLinuxd0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, 52da02521ede55fb86546c3fffd9377b3261b91f, 34a949e7a0869dfa31a40416d2a56973fae1807b
LinuxLinux6.13, 0, 6.1.148
LinuxLinux52da02521ede55fb86546c3fffd9377b3261b91f, 6.17, *
amazon:2023bpftool0
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.1.148-173.2670
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0
amazon:2023python3-perf0
amazon:2023kernel-libbpf0
amazon:2023kernel-livepatch-6.12.46-66.1210
amazon:2023kernel6.120
amazon:2023kernel-tools0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-tools0
linuxlinux_kernel6.1.128, 6.11.11, 6.6.75
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-modules-extra-common0

…and 12 more

Timeline

  • Aug 19, 2025 CVE Published
  • Aug 20, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (17 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (180 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (204 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38588
vulnetix vdb fixes CVE-2025-38588

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38588/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›