CVE-2025-38587
ipv6: fix possible infinite loop in fib6_info_uses_dev()
Check your servers for CVE-2025-38587
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38587 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.39% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2, before bc85e62394f008fa848c4ba02c936c735a3e8ef5 affected from 52da02521ede55fb86546c3fffd9377b3261b91f, before 9cb6de8ee144a94ae7a40bdb32560329ab7276f0 affected from 34a949e7a0869dfa31a40416d2a56973fae1807b, before db65739d406c72776fbdbbc334be827ef05880d2 affected from d9ccb18f83ea2bb654289b6ecf014fd267cc988b, before 16d21816c0918f8058b5fc14cbe8595d62046e2d affected from d9ccb18f83ea2bb654289b6ecf014fd267cc988b, before e09be457b71b983a085312ff9e981f51e4ed3211 affected from d9ccb18f83ea2bb654289b6ecf014fd267cc988b, before f8d8ce1b515a0a6af72b30502670a406cfb75073 affected 11edcd026012ac18acee0f1514db3ed1b160fc6f affected from 6.1.128, before 6.1.148 affected from 6.6.75, before 6.6.102 affected from 6.12.2, before 6.12.42 affected from 6.11.11, before 6.12
Other versions: unaffected
|
| Linux |
affected 6.13 unaffected before 6.13 unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38587 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38587
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38587
trivy image --scanners vuln IMAGE | grep CVE-2025-38587
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bc85e62394f008fa848c4ba02c936c735a3e8ef5 git.kernel.org
- https://git.kernel.org/stable/c/9cb6de8ee144a94ae7a40bdb32560329ab7276f0 git.kernel.org
- https://git.kernel.org/stable/c/db65739d406c72776fbdbbc334be827ef05880d2 git.kernel.org
- https://git.kernel.org/stable/c/16d21816c0918f8058b5fc14cbe8595d62046e2d git.kernel.org
- https://git.kernel.org/stable/c/e09be457b71b983a085312ff9e981f51e4ed3211 git.kernel.org
- https://git.kernel.org/stable/c/f8d8ce1b515a0a6af72b30502670a406cfb75073 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
Source: the record CVE-2025-38587 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse