---
id: CVE-2025-38587
title: 'ipv6: fix possible infinite loop in fib6_info_uses_dev()'
summary: |-
  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_siz…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2 <
    bc85e62394f008fa848c4ba02c936c735a3e8ef5
  - >-
    Linux >= 52da02521ede55fb86546c3fffd9377b3261b91f <
    9cb6de8ee144a94ae7a40bdb32560329ab7276f0
  - >-
    Linux >= 34a949e7a0869dfa31a40416d2a56973fae1807b <
    db65739d406c72776fbdbbc334be827ef05880d2
  - >-
    Linux >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b <
    16d21816c0918f8058b5fc14cbe8595d62046e2d
  - >-
    Linux >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b <
    e09be457b71b983a085312ff9e981f51e4ed3211
  - >-
    Linux >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b <
    f8d8ce1b515a0a6af72b30502670a406cfb75073
  - Linux 11edcd026012ac18acee0f1514db3ed1b160fc6f
  - Linux >= 6.1.128 < 6.1.148
  - Linux >= 6.6.75 < 6.6.102
  - Linux >= 6.12.2 < 6.12.42
  - Linux >= 6.11.11 < 6.12
  - Linux 6.13
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:04:30.762235Z'
published: '2025-08-19'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:12:48.067Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38587'
references:
  - url: 'https://git.kernel.org/stable/c/bc85e62394f008fa848c4ba02c936c735a3e8ef5'
  - url: 'https://git.kernel.org/stable/c/9cb6de8ee144a94ae7a40bdb32560329ab7276f0'
  - url: 'https://git.kernel.org/stable/c/db65739d406c72776fbdbbc334be827ef05880d2'
  - url: 'https://git.kernel.org/stable/c/16d21816c0918f8058b5fc14cbe8595d62046e2d'
  - url: 'https://git.kernel.org/stable/c/e09be457b71b983a085312ff9e981f51e4ed3211'
  - url: 'https://git.kernel.org/stable/c/f8d8ce1b515a0a6af72b30502670a406cfb75073'
tags:
  - cve.org
epss: 0.00168
epssPercentile: 0.06046
ingestedAt: '2026-11-05T22:38:31.998Z'
---

## Overview

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

- `Linux >= d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2 < bc85e62394f008fa848c4ba02c936c735a3e8ef5`
- `Linux >= 52da02521ede55fb86546c3fffd9377b3261b91f < 9cb6de8ee144a94ae7a40bdb32560329ab7276f0`
- `Linux >= 34a949e7a0869dfa31a40416d2a56973fae1807b < db65739d406c72776fbdbbc334be827ef05880d2`
- `Linux >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b < 16d21816c0918f8058b5fc14cbe8595d62046e2d`
- `Linux >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b < e09be457b71b983a085312ff9e981f51e4ed3211`
- `Linux >= d9ccb18f83ea2bb654289b6ecf014fd267cc988b < f8d8ce1b515a0a6af72b30502670a406cfb75073`
- `Linux 11edcd026012ac18acee0f1514db3ed1b160fc6f`
- `Linux >= 6.1.128 < 6.1.148`
- `Linux >= 6.6.75 < 6.6.102`
- `Linux >= 6.12.2 < 6.12.42`
- `Linux >= 6.11.11 < 6.12`
- `Linux 6.13`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
