Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-71157

CVE-2025-71157: Linux Kernel Privilege Escalation Flaw

CVE-2025-71157 is a privilege escalation vulnerability in the Linux kernel RDMA core component that affects device reference handling. This article covers the technical details, affected versions, impact, and mitigation.

Published: January 30, 2026

CVE-2025-71157 Overview

A reference counting vulnerability has been identified in the Linux kernel's RDMA (Remote Direct Memory Access) core subsystem. The issue exists in the ib_del_sub_device_and_put() function, which fails to properly release a device reference before returning an -EOPNOTSUPP error. This flaw was introduced when nldev_deldev() was implemented (commit 060c642b2ab8) to add support for adding/deleting sub IB devices through netlink. The function ib_device_get_by_index() grabs a reference to the device, but this reference is not dropped when the error path is taken, leading to a reference count leak.

Critical Impact

Memory leak in the Linux kernel RDMA subsystem could lead to resource exhaustion and potential denial of service conditions on systems utilizing RDMA/InfiniBand functionality.

Affected Products

  • Linux kernel with RDMA/InfiniBand subsystem enabled
  • Systems utilizing RDMA netlink device management functionality
  • Kernel versions containing commit 060c642b2ab8 but missing the fix

Discovery Timeline

  • 2026-01-23 - CVE CVE-2025-71157 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2025-71157

Vulnerability Analysis

This vulnerability represents a Memory Leak issue within the Linux kernel's RDMA core subsystem. The root of the problem lies in improper reference counting management within the ib_del_sub_device_and_put() function. When the nldev_deldev() function is called to delete a sub IB device through netlink, it first obtains a reference to the target device using ib_device_get_by_index(). However, when ib_del_sub_device_and_put() encounters a condition that requires returning an -EOPNOTSUPP error, the previously acquired reference is not released before the function returns.

This creates a reference count leak where the kernel believes the device is still in use even when it should not be. Over time, repeated triggering of this condition could lead to accumulated memory leaks and resource exhaustion. The vulnerability affects systems running the Linux kernel with RDMA functionality enabled, particularly those utilizing netlink-based device management for InfiniBand sub-devices.

Root Cause

The vulnerability stems from an incomplete error handling path in the ib_del_sub_device_and_put() function. When commit 060c642b2ab8 introduced netlink support for managing sub IB devices, the reference obtained via ib_device_get_by_index() was not being properly released in all code paths. Specifically, when the function determines that the operation is not supported and prepares to return -EOPNOTSUPP, it fails to call the corresponding reference drop function, leaving the device reference artificially elevated.

Attack Vector

The attack vector for this vulnerability requires local access to a system with RDMA subsystem enabled. An attacker with the ability to invoke netlink operations for RDMA device management could potentially trigger the vulnerable code path repeatedly, causing a gradual accumulation of unreleased references. This could eventually exhaust kernel memory resources or prevent legitimate device cleanup operations, potentially leading to denial of service conditions. The vulnerability requires elevated privileges to trigger netlink RDMA operations, limiting the scope of potential exploitation.

Detection Methods for CVE-2025-71157

Indicators of Compromise

  • Unexplained growth in kernel memory usage over time on systems with RDMA enabled
  • RDMA device reference counts that do not decrease as expected during device deletion operations
  • Kernel log messages indicating device reference count anomalies in the RDMA subsystem
  • System instability or memory pressure warnings on InfiniBand-enabled systems

Detection Strategies

  • Monitor kernel memory allocation patterns for gradual increases in RDMA-related structures
  • Implement kernel tracing on ib_device_get_by_index() and reference release functions to detect imbalances
  • Review system logs for -EOPNOTSUPP errors from RDMA netlink operations
  • Use kernel debugging tools to track device reference counts in the RDMA subsystem

Monitoring Recommendations

  • Enable RDMA subsystem logging and monitor for unusual device management patterns
  • Implement memory monitoring alerts for systems utilizing InfiniBand functionality
  • Track kernel object reference counts using appropriate debugging facilities
  • Regularly audit RDMA device state and reference counts on affected systems

How to Mitigate CVE-2025-71157

Immediate Actions Required

  • Apply the kernel patches referenced in the security commits immediately
  • Prioritize patching systems actively using RDMA/InfiniBand functionality
  • Monitor affected systems for signs of memory leaks or resource exhaustion
  • Consider restricting netlink RDMA device management access to essential administrators

Patch Information

The Linux kernel development team has released fixes for this vulnerability. The patches ensure that the device reference is properly dropped in all code paths within ib_del_sub_device_and_put(), including when returning the -EOPNOTSUPP error.

Patches are available in the following commits:

  • Kernel Git Commit 20436f2742
  • Kernel Git Commit fa3c411d21
  • Kernel Git Commit fe8d456080

Workarounds

  • Disable RDMA netlink device management functionality if not required for operations
  • Restrict access to netlink RDMA operations to only trusted administrators
  • Implement periodic system reboots on affected systems until patches can be applied
  • Monitor and alert on memory pressure conditions to detect potential exploitation
bash
# Check if RDMA modules are loaded
lsmod | grep rdma
lsmod | grep ib_core

# Review RDMA device status
rdma dev show

# Monitor kernel memory for RDMA-related growth
cat /proc/meminfo | grep -i slab

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 20436f2742

  • Kernel Git Commit fa3c411d21

  • Kernel Git Commit fe8d456080
  • Related CVEs
  • CVE-2026-31430: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31443: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31463: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31459: Linux Kernel Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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