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-71113

CVE-2025-71113: Linux Kernel Privilege Escalation Flaw

CVE-2025-71113 is a privilege escalation vulnerability in the Linux kernel's crypto subsystem caused by uninitialized memory. This article covers the technical details, affected versions, security impact, and mitigation.

Published: January 23, 2026

CVE-2025-71113 Overview

CVE-2025-71113 is an uninitialized memory use vulnerability in the Linux kernel's cryptographic user API (af_alg) subsystem. Several crypto user API contexts and requests allocated with sock_kmalloc() were left uninitialized, relying on callers to set fields explicitly. This resulted in the use of uninitialized data in certain error paths or when new fields are added in the future, causing unpredictable behavior including random -EBUSY failures.

Critical Impact

Uninitialized memory in the kernel crypto subsystem can cause random operational failures, denial of service conditions, and potential information disclosure through garbage values being interpreted as valid data.

Affected Products

  • Linux Kernel (af_alg crypto subsystem)
  • Linux Kernel with ACVP patches (algif_kpp.c and algif_akcipher.c)
  • Systems using cryptographic user-space API via AF_ALG sockets

Discovery Timeline

  • 2026-01-14 - CVE CVE-2025-71113 published to NVD
  • 2026-01-19 - Last updated in NVD database

Technical Details for CVE-2025-71113

Vulnerability Analysis

This vulnerability stems from improper memory initialization in the Linux kernel's cryptographic socket interface. The af_alg subsystem provides user-space access to kernel cryptographic algorithms through the AF_ALG socket family. When memory is allocated using sock_kmalloc() for crypto contexts and requests, the allocated memory was not zero-initialized, leaving fields containing arbitrary garbage values from previous memory usage.

A specific manifestation of this issue was observed with the inflight variable introduced in af_alg_ctx by commit 67b164a871af ("crypto: af_alg - Disallow multiple in-flight AIO requests"). Because the context was not memset to zero after allocation, the inflight variable contained garbage values. The af_alg_alloc_areq() function tests ctx->inflight directly without comparing against true/false, causing random -EBUSY failures when the garbage value was interpreted as true.

The ACVP patches also contain two user-space interface files (algif_kpp.c and algif_akcipher.c) that rely on proper initialization of their context structures, extending the impact of this vulnerability.

Root Cause

The root cause is the failure to zero-initialize memory allocated via sock_kmalloc() in the af_alg cryptographic subsystem. Memory allocation functions in the kernel do not guarantee zeroed memory unless explicitly requested. The code relied on callers to set all fields explicitly, but this assumption was violated when:

  1. New fields like inflight were added to existing structures
  2. Error paths accessed fields that were never explicitly initialized
  3. Future code changes assumed fields had known initial states

The fix ensures all memory allocated with sock_kmalloc() is zero-initialized, providing a known starting state for all fields and eliminating undefined behavior from garbage values.

Attack Vector

The vulnerability is triggered through local user-space interaction with the kernel's AF_ALG socket interface. An attacker or legitimate user application using the cryptographic API may experience:

  1. Random -EBUSY errors when the uninitialized inflight variable contains non-zero garbage
  2. Potential information leakage if uninitialized memory containing sensitive data is later read
  3. Denial of service through unpredictable crypto operation failures

The vulnerability requires local access and the ability to create AF_ALG sockets, which typically requires CAP_NET_RAW capability or appropriate socket permissions.

Detection Methods for CVE-2025-71113

Indicators of Compromise

  • Random -EBUSY errors in kernel logs related to af_alg or cryptographic operations
  • Inconsistent behavior in applications using AF_ALG sockets for cryptographic operations
  • Kernel messages indicating issues with af_alg_alloc_areq() function
  • Unexpected failures in ACVP testing or cryptographic validation suites

Detection Strategies

  • Monitor kernel logs for cryptographic subsystem errors, particularly -EBUSY returns from af_alg functions
  • Implement system call monitoring for AF_ALG socket operations showing inconsistent failure patterns
  • Deploy kernel runtime instrumentation to detect uninitialized memory access in the crypto subsystem
  • Review application logs for intermittent cryptographic API failures that cannot be reproduced consistently

Monitoring Recommendations

  • Enable kernel KASAN (Kernel Address Sanitizer) to detect uninitialized memory use at runtime
  • Configure audit rules to monitor AF_ALG socket creation and usage patterns
  • Implement alerting for elevated rates of cryptographic operation failures
  • Monitor for applications experiencing random -EBUSY errors when performing crypto operations

How to Mitigate CVE-2025-71113

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the zero-initialization fix
  • Review applications using AF_ALG sockets for error handling of -EBUSY conditions
  • Consider disabling AF_ALG socket access for non-privileged users until patched
  • Implement retry logic in applications to handle transient crypto API failures

Patch Information

The vulnerability has been addressed in multiple kernel stable branches. The fix ensures memory allocated via sock_kmalloc() is zero-initialized, providing known initial states for all context and request fields.

Available patches can be found at:

  • Linux Kernel Commit 51a5ab36084f
  • Linux Kernel Commit 543bf004e4ea
  • Linux Kernel Commit 5a4b65523608
  • Linux Kernel Commit 6f6e309328d5
  • Linux Kernel Commit 84238876e3b3
  • Linux Kernel Commit e125c8e346e4
  • Linux Kernel Commit f81244fd6b14

Workarounds

  • Restrict AF_ALG socket creation to privileged users only via system configuration
  • Implement application-level retry mechanisms for cryptographic operations that fail with -EBUSY
  • Use alternative cryptographic libraries that don't rely on the kernel AF_ALG interface
  • Apply kernel live patching if available for your distribution
bash
# Restrict AF_ALG socket access (temporary workaround)
# Add to /etc/sysctl.conf or /etc/sysctl.d/99-af_alg.conf
# Note: This may impact applications requiring crypto API access

# Monitor for af_alg related errors
dmesg | grep -i "af_alg\|crypto"

# Check current kernel version
uname -r

# Verify if patched commits are present (example for one commit)
git log --oneline | grep "af_alg - zero initialize"

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.03%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Commit Review

  • Linux Kernel Commit Review

  • Linux Kernel Commit Review

  • Linux Kernel Commit Review

  • Linux Kernel Commit Review

  • Linux Kernel Commit Review

  • Linux Kernel Commit Review
  • Related CVEs
  • CVE-2026-23253: Linux Kernel Privilege Escalation Flaw

  • CVE-2020-14381: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-22997: Linux Kernel J1939 Privilege Escalation

  • CVE-2025-71107: Linux Kernel Privilege Escalation Flaw
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