The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-71147

CVE-2025-71147: Linux Kernel Memory Leak Vulnerability

CVE-2025-71147 is a memory leak vulnerability in the Linux kernel's trusted keys subsystem affecting the TPM2 key loading function. This article covers the technical details, affected versions, and mitigation steps.

Published: January 30, 2026

CVE-2025-71147 Overview

CVE-2025-71147 is a memory leak vulnerability in the Linux kernel's trusted key subsystem. The vulnerability exists in the tpm2_load_cmd function, which allocates a temporary blob indirectly via tpm2_key_decode but fails to free this memory in failure paths. This oversight can lead to gradual memory exhaustion on systems utilizing TPM2 trusted keys.

Critical Impact

Systems using TPM2-based trusted keys may experience memory exhaustion over time due to unreleased memory allocations during failed key loading operations.

Affected Products

  • Linux Kernel (multiple versions with TPM2 trusted key support)
  • Systems utilizing TPM2-based trusted key functionality
  • Linux distributions shipping affected kernel versions

Discovery Timeline

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

Technical Details for CVE-2025-71147

Vulnerability Analysis

This vulnerability is a classic memory leak in kernel code related to TPM2 trusted key handling. The tpm2_load_cmd function is responsible for loading trusted keys via TPM2. During this process, it calls tpm2_key_decode which allocates a temporary blob for key data processing. However, when certain error conditions occur during the key loading operation, the allocated memory is not properly deallocated before the function returns.

Memory leaks in kernel space are particularly concerning because kernel memory is a finite resource that cannot be paged to disk. Repeated triggering of this vulnerability—whether intentionally by an attacker or inadvertently through normal operations encountering errors—can gradually consume available kernel memory. This could lead to system instability, denial of service conditions, or other unpredictable behavior when the system runs low on memory.

Root Cause

The root cause is missing memory deallocation in error handling paths within the tpm2_load_cmd function. When memory is allocated indirectly through tpm2_key_decode, proper cleanup must occur regardless of whether the operation succeeds or fails. The fix addresses this by wrapping the blob allocation with a cleanup helper that ensures proper memory release in all code paths.

Attack Vector

The attack vector for this vulnerability is primarily local. An attacker with the ability to trigger TPM2 trusted key loading operations that result in failures could repeatedly invoke this code path to gradually exhaust kernel memory. This could be accomplished by a local user with appropriate permissions to interact with the kernel's keyring subsystem or through applications that utilize TPM2 trusted keys.

The vulnerability mechanism involves:

  1. A call to tpm2_load_cmd is made to load a trusted key
  2. The function internally calls tpm2_key_decode, which allocates a temporary memory blob
  3. If an error occurs after this allocation but before normal completion, the error path returns without freeing the blob
  4. The memory remains allocated but unreferenced, constituting a leak
  5. Repeated occurrences accumulate leaked memory over time

Detection Methods for CVE-2025-71147

Indicators of Compromise

  • Gradual increase in kernel memory usage without corresponding user-space memory growth
  • System logs indicating memory pressure or allocation failures in kernel subsystems
  • Unusual frequency of TPM2 key loading failures in system logs
  • Memory exhaustion symptoms on systems with TPM2 trusted key usage

Detection Strategies

  • Monitor kernel memory usage trends over time using tools like /proc/meminfo or system monitoring solutions
  • Enable kernel memory leak detection tools such as kmemleak during testing and development
  • Review system logs for TPM-related errors that may indicate repeated triggering of the vulnerable code path
  • Implement memory usage alerting thresholds to detect gradual resource exhaustion

Monitoring Recommendations

  • Configure system monitoring to alert on abnormal kernel memory consumption patterns
  • Implement periodic kernel memory auditing on systems utilizing TPM2 trusted keys
  • Enable detailed logging for TPM2 subsystem operations to correlate with memory usage anomalies
  • Use SentinelOne's kernel-level monitoring capabilities to detect memory exhaustion indicators

How to Mitigate CVE-2025-71147

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the memory leak fix
  • Monitor affected systems for signs of memory exhaustion while awaiting patch deployment
  • Review and limit access to TPM2 trusted key operations to reduce potential attack surface
  • Prioritize patching on systems with heavy TPM2 trusted key usage

Patch Information

The vulnerability has been addressed in the Linux kernel through multiple commits across various stable branches. The fix wraps the blob allocation with a cleanup helper to ensure proper memory release in all code paths. Patches are available through the following kernel git commits:

  • Kernel Git Commit 19166de
  • Kernel Git Commit 3fd7df4
  • Kernel Git Commit 62cd5d4
  • Kernel Git Commit 9b015f2
  • Kernel Git Commit 9e7c63c
  • Kernel Git Commit af0689c

Workarounds

  • If patching is not immediately possible, limit access to keyring operations to trusted users and processes
  • Implement scheduled system reboots to clear accumulated leaked memory as a temporary measure
  • Reduce reliance on TPM2 trusted keys where alternative mechanisms are available
  • Monitor and alert on memory usage to detect accumulation before it causes system instability
bash
# Check kernel version for patch status
uname -r

# Monitor kernel memory usage
cat /proc/meminfo | grep -E "MemTotal|MemFree|Slab|SUnreclaim"

# Check for kmemleak availability (if enabled in kernel)
cat /sys/kernel/debug/kmemleak 2>/dev/null || echo "kmemleak not available"

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.03%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 19166de

  • Kernel Git Commit 3fd7df4

  • Kernel Git Commit 62cd5d4

  • Kernel Git Commit 9b015f2

  • Kernel Git Commit 9e7c63c

  • Kernel Git Commit af0689c
  • Related CVEs
  • CVE-2026-23416: Linux Kernel VMA Merge Vulnerability

  • CVE-2026-23414: Linux Kernel TLS Memory Leak Vulnerability

  • CVE-2026-23403: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-23399: Linux Kernel Memory Leak Vulnerability
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