CVE-2025-38587

ipv6: fix possible infinite loop in fib6_info_uses_dev()

MEDIUM
5.5
CVSS Score
Published: August 19, 2025 at 05:03 PM UTC
Updated: June 17, 2026 at 09:17 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.11.116.1.128 ≤ v < 6.1.1486.11.11 ≤ v < 6.126.12.2 ≤ v < 6.12.426.13 ≤ v < 6.15.106.13 ≤ v < 6.16.16.13 ≤ v < 6.176.16 ≤ v < 6.16.16.6.75 ≤ v < 6.6.10211edcd026012ac18acee0f1514db3ed1b160fc6f34a949e7a0869dfa31a40416d2a56973fae1807b52da02521ede55fb86546c3fffd9377b3261b91f6.1.1286.11.116.12.26.136.6.75d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2d9ccb18f83ea2bb654289b6ecf014fd267cc988b
Vendor states this is fixed in 16d21816c0918f8058b5fc14cbe8595d62046e2d (fixed)
Vendor states this is fixed in 9cb6de8ee144a94ae7a40bdb32560329ab7276f0 (fixed)
Vendor states this is fixed in bc85e62394f008fa848c4ba02c936c735a3e8ef5 (fixed)
Vendor states this is fixed in db65739d406c72776fbdbbc334be827ef05880d2 (fixed)
Vendor states this is fixed in e09be457b71b983a085312ff9e981f51e4ed3211 (fixed)
Vendor states this is fixed in f8d8ce1b515a0a6af72b30502670a406cfb75073 (fixed)
Vendor states this is fixed in 6.1.148 (unaffected)
Affected range stops below 6.12, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.12.42 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.15.10 (unaffected)
Vendor states this is fixed in 6.16.1 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.102 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/16d21816c0918f8058b5fc14cbe8595d62046e2d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9cb6de8ee144a94ae7a40bdb32560329ab7276f0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bc85e62394f008fa848c4ba02c936c735a3e8ef5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db65739d406c72776fbdbbc334be827ef05880d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e09be457b71b983a085312ff9e981f51e4ed3211
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f8d8ce1b515a0a6af72b30502670a406cfb75073
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card