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-2021-20265

CVE-2021-20265: Linux Kernel DOS Vulnerability

CVE-2021-20265 is a denial of service flaw in the Linux Kernel that allows unprivileged users to crash systems by exhausting memory. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-20265 Overview

A flaw was found in the way memory resources were freed in the unix_stream_recvmsg function in the Linux kernel when a signal was pending. This vulnerability allows an unprivileged local user to crash the system by exhausting available memory, resulting in a denial of service condition. The highest threat from this vulnerability is to system availability.

Critical Impact

Local unprivileged users can cause system-wide denial of service by exploiting improper memory handling in Unix domain socket operations, leading to complete memory exhaustion and system crashes.

Affected Products

  • Linux Linux Kernel
  • Oracle Tekelec Platform Distribution

Discovery Timeline

  • 2021-03-10 - CVE CVE-2021-20265 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-20265

Vulnerability Analysis

The vulnerability exists within the unix_stream_recvmsg function of the Linux kernel's Unix domain socket implementation. When a signal is pending during the receive operation, the function fails to properly release allocated memory resources. This improper memory management creates a condition where memory can be gradually exhausted through repeated operations.

The flaw is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-401 (Missing Release of Memory after Effective Lifetime). An attacker with local access and low privileges can exploit this vulnerability without any user interaction required. The impact is limited to availability, with no effect on confidentiality or integrity of the system.

Root Cause

The root cause of this vulnerability is a memory leak condition in the Unix domain socket stream receiving code path. When a signal interrupts the unix_stream_recvmsg function, the allocated memory buffers are not properly freed before the function returns. This missing cleanup step results in orphaned memory allocations that accumulate over time.

The kernel commit fa0dc04df259ba2df3ce1920e9690c7842f8fa4b addresses this issue by ensuring proper memory deallocation occurs regardless of whether a signal is pending during the receive operation.

Attack Vector

The attack vector requires local access to the target system. An unprivileged attacker can exploit this vulnerability by performing Unix domain socket operations in a manner that triggers the memory leak condition. The attack involves:

  1. Creating Unix domain stream sockets
  2. Initiating receive operations while signals are pending
  3. Repeating the process to gradually exhaust system memory
  4. Eventually causing the system to become unresponsive or crash due to out-of-memory conditions

The exploitation does not require any special privileges beyond basic user access, making it accessible to any authenticated local user on vulnerable systems.

Detection Methods for CVE-2021-20265

Indicators of Compromise

  • Unusual memory consumption patterns on Linux systems without corresponding legitimate workload increases
  • System logs indicating out-of-memory (OOM) killer activation without identifiable memory-intensive applications
  • Repeated Unix domain socket operations from unprivileged user accounts
  • System instability or crashes preceded by gradual memory depletion

Detection Strategies

  • Monitor system memory usage trends and alert on abnormal consumption patterns that cannot be attributed to legitimate processes
  • Implement kernel-level auditing to track Unix domain socket recvmsg operations, particularly from non-root users
  • Deploy memory leak detection tools to identify processes that consistently fail to release allocated memory
  • Review system logs for OOM killer events and correlate with user activity during those timeframes

Monitoring Recommendations

  • Configure memory usage alerts to trigger when available system memory drops below defined thresholds
  • Enable kernel auditing for socket system calls to maintain visibility into Unix domain socket activity
  • Monitor for unusual patterns of signal delivery during socket operations
  • Implement process-level memory accounting to identify which processes are consuming excessive memory

How to Mitigate CVE-2021-20265

Immediate Actions Required

  • Apply the kernel patch referenced in commit fa0dc04df259ba2df3ce1920e9690c7842f8fa4b to affected Linux systems
  • Update to patched kernel versions as provided by your Linux distribution vendor
  • For Oracle Tekelec Platform Distribution users, apply patches referenced in the Oracle Security Alert October 2021
  • Prioritize patching on multi-user systems where unprivileged local users have shell access

Patch Information

The vulnerability has been addressed in the upstream Linux kernel. The fix is available in the kernel git repository at commit fa0dc04df259ba2df3ce1920e9690c7842f8fa4b. System administrators should check with their distribution vendor for backported patches applicable to their specific kernel version.

Additional information is available in the Red Hat Bug Report #1908827 and the Oracle Security Alert October 2021 for affected Oracle products.

Workarounds

  • Restrict local shell access to trusted users only until patches can be applied
  • Implement memory resource limits (cgroups/ulimits) for non-privileged user sessions to contain potential exploitation impact
  • Monitor system memory closely and configure automatic alerts for unusual consumption patterns
  • Consider isolating critical workloads on dedicated systems with restricted user access
bash
# Configuration example - Set memory limits for user sessions using cgroups
# Create a memory-limited cgroup for unprivileged users
sudo cgcreate -g memory:/limited_users
sudo cgset -r memory.limit_in_bytes=2G limited_users

# Apply ulimit restrictions in /etc/security/limits.conf
# Add the following lines to limit memory for users:
# @users          hard    as              2097152
# @users          hard    memlock         65536

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.04%

  • 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
  • CWE-400

  • CWE-401
  • Vendor Resources
  • Red Hat Bug Report #1908827

  • Linux Kernel Commit FA0DC04

  • Oracle Security Alert October 2021
  • Related CVEs
  • CVE-2026-31465: Linux Kernel Writeback DoS Vulnerability

  • CVE-2026-31472: Linux Kernel IPTFS DoS Vulnerability

  • CVE-2026-31451: Linux Kernel ext4 DOS Vulnerability

  • CVE-2026-31448: Linux Kernel ext4 DoS Vulnerability
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