A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-71097

CVE-2025-71097: Linux Kernel Reference Count Vulnerability

CVE-2025-71097 is a reference count leak flaw in Linux Kernel affecting IPv4 error routes with nexthop objects. This vulnerability causes device reference leaks when nexthop objects are deleted. Learn the technical details.

Updated: May 16, 2026

CVE-2025-71097 Overview

CVE-2025-71097 is a Linux kernel vulnerability in the IPv4 routing subsystem. The flaw causes a reference count leak when error routes (such as blackhole routes) are associated with nexthop objects. When a nexthop object is deleted, the kernel marks it as dead and calls fib_table_flush() to remove dependent routes. However, error routes are only flushed during network namespace dismantle, leaving stale references on the nexthop object and its underlying network device. The result is a persistent unregister_netdevice: waiting for <dev> to become free condition that prevents device teardown.

Critical Impact

Local users with CAP_NET_ADMIN can trigger reference count leaks that prevent network device unregistration, leading to availability loss and potential kernel resource exhaustion.

Affected Products

  • Linux Kernel (multiple stable branches up to 6.19-rc8)
  • Linux Kernel 5.3 and later releases containing the nexthop object infrastructure
  • Linux Kernel 6.19 release candidates rc1 through rc8

Discovery Timeline

  • 2026-01-13 - CVE-2025-71097 published to NVD
  • 2026-03-25 - Last updated in NVD database

Technical Details for CVE-2025-71097

Vulnerability Analysis

The vulnerability resides in the IPv4 Forwarding Information Base (FIB) flushing logic in fib_table_flush(). When a nexthop object referenced by routes is deleted using ip nexthop del, the kernel marks the nexthop as dead and walks the FIB to remove dependent entries. The flush routine intentionally skips error routes such as blackhole, unreachable, and prohibit entries unless invoked with flush_all=true, a condition only set during network namespace dismantle.

As a result, error routes that reference a deleted nexthop remain in the routing table. These stale routes continue to hold a reference on the nexthop object, which in turn holds a reference on the underlying network device. When the administrator attempts to delete the device, the kernel reports unregister_netdevice: waiting for <dev> to become free. Usage count = 2 indefinitely. IPv6 is not affected because its flushing logic differs.

Root Cause

The root cause is incomplete cleanup logic in fib_table_flush(). Error routes were treated as namespace-scoped resources rather than nexthop-dependent resources. When the dependency changed with the introduction of nexthop object support, the flush predicate was not updated to release error routes whose nexthop was marked dead.

Attack Vector

Exploitation requires local access and the CAP_NET_ADMIN capability to create nexthops, install routes, and delete network devices. The reproduction sequence involves creating a dummy interface, adding a nexthop, adding a blackhole route bound to that nexthop, deleting the nexthop, and attempting to delete the interface. Each cycle leaks a netdevice reference, which can be repeated to exhaust kernel resources or pin devices in the dying state. No verified public proof-of-concept exploit code is available beyond the reproducer described in the upstream commit message.

Detection Methods for CVE-2025-71097

Indicators of Compromise

  • Kernel log messages containing unregister_netdevice: waiting for <interface> to become free. Usage count = N that persist across multiple polling intervals.
  • Routing tables that retain blackhole, unreachable, or prohibit entries referencing a nhid after the corresponding nexthop has been deleted.
  • Network interfaces that remain in a pending-delete state and cannot be re-created with the same name.

Detection Strategies

  • Monitor dmesg and /var/log/messages for repeated unregister_netdevice warnings tied to specific interfaces.
  • Audit nexthop and route state with ip nexthop show and ip route show type blackhole to identify error routes referencing deleted nexthops.
  • Track kernel version and patch status across the fleet to identify hosts running affected 6.x release candidates or unpatched stable branches.

Monitoring Recommendations

  • Alert on systems where network device deletion operations exceed expected duration or hang indefinitely.
  • Correlate CAP_NET_ADMIN-granted process activity with nexthop and route modification syscalls via audit rules.
  • Baseline normal routing-table churn to surface anomalous repeated creation and deletion of nexthop objects.

How to Mitigate CVE-2025-71097

Immediate Actions Required

  • Apply the upstream kernel patches referenced by the stable tree commits listed in the vendor advisory section.
  • Restrict CAP_NET_ADMIN to trusted administrators and service accounts that require network configuration privileges.
  • Inventory hosts running affected kernel versions and prioritize patching on systems that expose nexthop management to multi-tenant or unprivileged workloads.

Patch Information

The fix updates fib_table_flush() to also flush error routes when their associated nexthop is marked dead. The patch has been merged into the mainline kernel and backported to multiple stable branches. Refer to the upstream commits: Kernel.org Commit 30386e0, Kernel.org Commit 33ff5c2, Kernel.org Commit 5979338, Kernel.org Commit 5de7ad7, Kernel.org Commit ac782f4, Kernel.org Commit e3fc381, and Kernel.org Commit ee41835.

Workarounds

  • Manually delete error routes (ip route del blackhole <prefix>) before deleting their associated nexthop objects.
  • Avoid binding error routes such as blackhole, unreachable, or prohibit to nexthop objects on affected kernels; use direct device or gateway specifications instead.
  • Limit the set of users and containers permitted to manage nexthops by tightening namespace and capability policies.
bash
# Workaround: remove error routes before deleting their nexthop
ip route show type blackhole | awk '/nhid/ {print $2}' | \
  xargs -I{} ip route del blackhole {}
ip nexthop del id <nhid>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-Other
  • Vendor Resources
  • Kernel.org Commit 30386e0

  • Kernel.org Commit 33ff5c2

  • Kernel.org Commit 5979338

  • Kernel.org Commit 5de7ad7

  • Kernel.org Commit ac782f4

  • Kernel.org Commit e3fc381

  • Kernel.org Commit ee41835
  • Related CVEs
  • CVE-2026-46265: Linux Kernel RDMA WQ_MEM_RECLAIM Warning

  • CVE-2026-46257: Linux Kernel SP804 Timer Oops Vulnerability

  • CVE-2026-46255: Linux Kernel EDMA Clock Disable Bug

  • CVE-2026-46239: Linux Kernel OV5647 PM Refcount Leak
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English