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

CVE-2021-27365: Linux Kernel Privilege Escalation Flaw

CVE-2021-27365 is a privilege escalation vulnerability in Linux Kernel through version 5.11.3, where iSCSI data structures lack proper length constraints. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2021-27365 Overview

CVE-2021-27365 is a heap buffer overflow vulnerability in the Linux kernel through version 5.11.3. The flaw exists in the iSCSI subsystem where certain data structures lack appropriate length constraints or checks, allowing them to exceed the PAGE_SIZE value. An unprivileged local user can exploit this vulnerability by sending a specially crafted Netlink message associated with iSCSI operations, with a length up to the maximum length of a Netlink message.

Critical Impact

This vulnerability allows local unprivileged users to achieve privilege escalation through a heap buffer overflow in the kernel's iSCSI subsystem, potentially leading to complete system compromise.

Affected Products

  • Linux Kernel (through version 5.11.3)
  • Debian Linux 9.0
  • Oracle Tekelec Platform Distribution
  • NetApp SolidFire Baseboard Management Controller Firmware
  • NetApp SolidFire Baseboard Management Controller

Discovery Timeline

  • 2021-03-06 - Vulnerability disclosed on the Openwall OSS-Security Discussion
  • 2021-03-07 - CVE CVE-2021-27365 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-27365

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write) and affects the iSCSI implementation within the Linux kernel. The root issue lies in the kernel's handling of Netlink messages related to iSCSI operations, where insufficient bounds checking allows data structures to grow beyond expected memory page boundaries.

The vulnerability is exploitable locally, requiring low privileges and no user interaction. An attacker with local access can leverage this flaw to write beyond allocated heap buffers, potentially corrupting adjacent memory structures. This memory corruption can be weaponized to achieve arbitrary code execution with kernel privileges, effectively escalating from an unprivileged user to root.

The attack surface is accessible to any local user on systems where the iSCSI kernel modules are loaded, which is common in enterprise environments and storage configurations. The lack of length constraints on iSCSI data structures means that carefully crafted Netlink messages can trigger the overflow condition.

Root Cause

The root cause stems from missing length constraints and validation checks in iSCSI data structures within the Linux kernel. Specifically, the kernel fails to properly validate the size of incoming Netlink messages before processing them, allowing oversized payloads that exceed PAGE_SIZE to be processed. This design flaw enables heap buffer overflow conditions when the kernel attempts to handle these malformed messages.

Attack Vector

The attack is local in nature, requiring the attacker to have unprivileged access to the target system. The attacker sends specially crafted Netlink messages targeting the iSCSI subsystem. These messages contain payloads designed to exceed normal size boundaries, triggering the heap overflow when the kernel processes them without adequate length validation.

The attack does not require user interaction and can be executed with minimal prerequisites. Once the heap overflow occurs, the attacker can leverage standard kernel exploitation techniques to achieve privilege escalation, including overwriting function pointers or manipulating kernel data structures.

The vulnerability is detailed in the Grimm Blog Linux Kernel Analysis, which provides in-depth technical analysis of the iSCSI subsystem flaws.

Detection Methods for CVE-2021-27365

Indicators of Compromise

  • Unusual Netlink message activity targeting the iSCSI subsystem
  • Kernel crash dumps or oops messages related to iSCSI or heap corruption
  • Unexpected privilege escalation events from unprivileged user accounts
  • Anomalous iSCSI module loading or configuration changes

Detection Strategies

  • Monitor kernel logs for memory corruption indicators, heap overflows, or iSCSI-related crashes
  • Implement audit rules to track Netlink socket operations and iSCSI-related system calls
  • Deploy kernel-level monitoring to detect suspicious memory access patterns in the iSCSI subsystem
  • Use SentinelOne's Singularity platform to detect exploitation attempts targeting kernel vulnerabilities

Monitoring Recommendations

  • Enable kernel auditing to capture system call activity related to Netlink sockets
  • Configure SIEM rules to alert on kernel panic events and iSCSI subsystem anomalies
  • Monitor for unauthorized loading of iSCSI kernel modules
  • Review authentication logs for unexpected privilege escalation patterns following local access

How to Mitigate CVE-2021-27365

Immediate Actions Required

  • Update the Linux kernel to a patched version (5.11.4 or later, or distribution-specific patches)
  • Apply vendor-provided security updates for affected distributions (Debian, Oracle, NetApp)
  • If patching is not immediately possible, consider disabling or unloading iSCSI kernel modules on systems that don't require them
  • Review system access controls to limit local user access on affected systems

Patch Information

The Linux kernel maintainers have released fixes in the following commits:

  • Kernel Git Commit ec98ea7070e
  • Kernel Git Commit f9dbdf97a5bd

Distribution-specific patches are available:

  • Debian: Debian LTS Security Announcement
  • Oracle: Oracle Security Alert CPUOctober2021
  • NetApp: NetApp Security Advisory NTAP-20210409-0001

Live kernel patching is also available for supported distributions via the Packet Storm Security Notice.

Workarounds

  • Disable iSCSI kernel modules if not required: modprobe -r iscsi_tcp libiscsi scsi_transport_iscsi
  • Prevent automatic loading of iSCSI modules by blacklisting them in /etc/modprobe.d/
  • Restrict local access to trusted users only on systems where iSCSI is required
  • Implement network segmentation to limit exposure of systems running vulnerable kernels
bash
# Configuration example - Blacklist iSCSI modules
echo "blacklist iscsi_tcp" >> /etc/modprobe.d/blacklist-iscsi.conf
echo "blacklist libiscsi" >> /etc/modprobe.d/blacklist-iscsi.conf
echo "blacklist scsi_transport_iscsi" >> /etc/modprobe.d/blacklist-iscsi.conf

# Unload modules if currently loaded
modprobe -r iscsi_tcp libiscsi scsi_transport_iscsi 2>/dev/null

# Verify modules are not loaded
lsmod | grep iscsi

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Packet Storm Security Notice

  • Grimm Blog Linux Kernel Analysis

  • SUSE Bugzilla Report #1182715

  • Debian LTS Security Announcement

  • Debian LTS Security Update

  • NetApp Security Advisory NTAP-20210409-0001

  • Openwall OSS-Security Discussion
  • Vendor Resources
  • Kernel Git Commit ec98ea7070e

  • Kernel Git Commit f9dbdf97a5bd

  • Oracle Security Alert CPUOctober2021
  • Related CVEs
  • CVE-2026-31411: Linux Kernel Privilege Escalation Flaw

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

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

  • CVE-2026-23437: 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