PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71097 Linux CVE debrief

A vulnerability in the Linux kernel's IPv4 stack allows a reference count leak when using error routes with nexthop objects. This issue arises because error routes are not properly flushed when their nexthop object is deleted, leading to a reference count leak on the nexthop object and its associated device. This can cause issues such as preventing network interfaces from being properly removed.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-14
Original CVE updated
2026-07-28
Advisory published
2026-07-14
Advisory updated
2026-07-28

Who should care

System administrators and security teams managing Linux-based systems, especially those using IPv4 and nexthop objects, should be aware of this vulnerability. They should assess their systems for exposure and apply mitigations or patches as necessary.

Technical summary

The Linux kernel's IPv4 stack has a vulnerability (CVE-2025-71097) that causes a reference count leak when error routes are used with nexthop objects. Normally, when a nexthop object is deleted, it is marked as dead, and fib_table_flush() is called to remove all routes using the dead nexthop. However, the current logic only flushes error routes when network namespace dismantle occurs (with flush_all=true). Consequently, error routes persist, holding references to the nexthop object and its device, preventing proper cleanup.

Defensive priority

Medium priority due to the potential for denial-of-service (DoS) conditions through interface removal delays or network instability.

Recommended defensive actions

  • Apply the official patches provided by the Linux kernel maintainers.
  • Inventory Linux systems for exposure, focusing on those using IPv4 and nexthop objects.
  • Monitor for signs of interface removal issues or reference count leaks.
  • Consider implementing compensating controls such as limiting the lifetime of nexthop objects or enhancing logging for reference count changes.
  • Perform a thorough review of network configurations to identify potential exposure.
  • Implement additional monitoring to detect anomalies in network behavior.
  • Review and update incident response plans to address potential impacts of this vulnerability.

Evidence notes

The vulnerability was resolved through a series of patches applied to the Linux kernel's stable branches. Multiple commits addressed this issue by ensuring error routes are properly flushed when their nexthop object is marked as dead.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71097 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71097

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71097 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71097

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/30386e090c49e803c0616a7147e43409c32a2b0e

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/33ff5c207c873215e54e6176624ed57423cb7dea

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5979338c83012110ccd45cae6517591770bfe536

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5de7ad7e18356e39e8fbf7edd185a5faaf4f385a

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/ac782f4e3bfcde145b8a7f8af31d9422d94d172a

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/e3fc381320d04e4a74311e576a86cac49a16fc43

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/ee4183501ea556dca31f5ffd8690aa9fd25b609f

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.