Menu

Star on GitHub · 3.2k

CVE-2025-71097

5.5 · MEDIUM

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 d…

Published Jan 13, 2026EPSS 0.14%

Overview

CVE-2025-71097 is a medium-severity vulnerability. It was published on January 13, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-71097?

CVE-2025-71097 is a medium-severity vulnerability. It was published on January 13, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-71097?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-71097?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-71097?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-71097 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all