5.5

CVE-2025-71097: ipv4: Fix reference count leak when using error routes with nexthop objects

Modified
AliasesUBUNTU-CVE-2025-71097DEBIAN-CVE-2025-71097
Published 13-01-2026Last modified 19-10-2026

Vulnerability summary

CVE-2025-71097 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.14%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 46 · Related 42

Timeline

  1. 13-01-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: ipv4: Fix reference count leak when using error routes with nexthop objects When a nexthop object is deleted, it is marked as dead and then fib_table_flush() is called to flush all the routes that are using the dead nexthop. The current logic in fib_table_flush() is to only flush error routes (e.g., blackhole) when it is called as part of network namespace dismantle (i.e., with flush_all=true). Therefore, error routes are not flushed when their nexthop object is deleted: # ip link add name dummy1 up type dummy # ip nexthop add id 1 dev dummy1 # ip route add 198.51.100.1/32 nhid 1 # ip route add blackhole 198.51.100.2/32 nhid 1 # ip nexthop del id 1 # ip route show blackhole 198.51.100.2 nhid 1 dev dummy1 As such, they keep holding a reference on the nexthop object which in turn holds a reference on the nexthop device, resulting in a reference count leak: # ip link del dev dummy1 [ 70.516258] unregister_netdevice: waiting for dummy1 to become free. Usage count = 2 Fix by flushing error routes when their nexthop is marked as dead. IPv6 does not suffer from this problem.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.13% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu152 products
  • linuxAll versions (No fix recorded) | < 5.15.0-173.183 | < 6.8.0-110.110 | < 6.17.0-22.22
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1103.110 | < 6.8.0-1052.55 | < 6.17.0-1012.12
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 493ced1ac47c48bb86d9d4e8e87df8592be85a0e, < 5de7ad7e18356e39e8fbf7edd185a5faaf4f385a | ≥ 493ced1ac47c48bb86d9d4e8e87df8592be85a0e, < 33ff5c207c873215e54e6176624ed57423cb7dea | ≥ 493ced1ac47c48bb86d9d4e8e87df8592be85a0e, < 30386e090c49e803c0616a7147e43409c32a2b0e | ≥ 493ced1ac47c48bb86d9d4e8e87df8592be85a0e, < 5979338c83012110ccd45cae6517591770bfe536 | ≥ 493ced1ac47c48bb86d9d4e8e87df8592be85a0e, < ee4183501ea556dca31f5ffd8690aa9fd25b609f | ≥ 493ced1ac47c48bb86d9d4e8e87df8592be85a0e, < e3fc381320d04e4a74311e576a86cac49a16fc43 | ≥ 493ced1ac47c48bb86d9d4e8e87df8592be85a0e, < ac782f4e3bfcde145b8a7f8af31d9422d94d172a | 5.3
  • linux_kernel≥ 5.3.1, < 5.10.248 | ≥ 5.11, < 5.15.198 | ≥ 5.16, < 6.1.160 | ≥ 6.2, < 6.6.120 | ≥ 6.7, < 6.12.64 | ≥ 6.13, < 6.18.4 | 5.3 | 6.19:rc1 | 6.19:rc2 | 6.19:rc3 | 6.19:rc4 | 6.19:rc5 | 6.19:rc6 | 6.19:rc7 | 6.19:rc8
Debian1 product
  • linux< 6.1.162-1 | < 6.12.69-1 | < 6.18.5-1

3 vendors · 155 products

References

44 links
Show all 44 references