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

CVE-2021-22543: Linux Kernel KVM Privilege Escalation Flaw

CVE-2021-22543 is a privilege escalation flaw in Linux Kernel KVM that allows VM users to read/write random memory pages. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 25, 2026

CVE-2021-22543 Overview

CVE-2021-22543 is a local privilege escalation vulnerability discovered in the Linux Kernel's KVM (Kernel-based Virtual Machine) hypervisor. The vulnerability stems from improper handling of VM_IO|VM_PFNMAP VMAs (Virtual Memory Areas) in KVM, which allows the bypass of read-only (RO) checks. This flaw can lead to memory pages being freed while still accessible by both the Virtual Machine Monitor (VMM) and the guest operating system.

Users with the ability to start and control a virtual machine can exploit this vulnerability to read and write arbitrary pages of memory, ultimately resulting in local privilege escalation on the host system. This represents a significant security risk in virtualized environments where guest isolation is critical.

Critical Impact

Attackers with VM control capabilities can achieve local privilege escalation by exploiting memory page handling flaws in KVM, potentially compromising host system integrity and confidentiality.

Affected Products

  • Linux Linux Kernel
  • Fedora 33 and Fedora 34
  • Debian Linux 9.0
  • NetApp H410c/H300s/H500s/H700s/H300e/H500e/H700e/H410s Firmware
  • NetApp Cloud Backup
  • NetApp SolidFire Baseboard Management Controller Firmware

Discovery Timeline

  • May 26, 2021 - CVE-2021-22543 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-22543

Vulnerability Analysis

This vulnerability resides in the Linux kernel's KVM subsystem, specifically in how it handles memory mappings for virtual machines. The core issue involves the improper handling of VMAs marked with VM_IO and VM_PFNMAP flags, which are used to map I/O memory and physical frame numbers directly into process address space.

When KVM processes these special memory regions, it fails to properly enforce read-only protections. This oversight allows a malicious actor with VM management capabilities to manipulate memory pages in ways that bypass intended access controls. The exploitation path requires local access and the ability to create and control virtual machines, making this particularly dangerous in multi-tenant cloud environments or systems where untrusted users have virtualization privileges.

The vulnerability enables an attacker to trigger conditions where memory pages are freed prematurely while remaining accessible to both the VMM and guest. This creates a use-after-free condition that can be leveraged for arbitrary memory read/write operations.

Root Cause

The root cause is improper boundary validation (CWE-119) in the KVM subsystem's VMA handling code. The kernel fails to properly validate and enforce memory access permissions when dealing with VM_IO|VM_PFNMAP mapped regions. This allows read-only checks to be circumvented, enabling unauthorized memory modifications.

The lack of proper reference counting and access control validation for these special memory mappings creates a window where page table entries can be manipulated, leading to memory corruption and privilege escalation scenarios.

Attack Vector

This is a local attack vector requiring the attacker to have the ability to start and control virtual machines on the target system. The exploitation flow involves:

  1. An attacker with VM control privileges creates a virtual machine with specific memory mappings that utilize VM_IO|VM_PFNMAP flagged VMAs
  2. The attacker manipulates these mappings to bypass read-only protections enforced by KVM
  3. Through careful manipulation, memory pages can be freed while maintaining access references
  4. The attacker exploits this use-after-free condition to read or write arbitrary memory pages
  5. This memory access primitive is leveraged to escalate privileges on the host system

The attack requires local authentication and VM management capabilities, but once these prerequisites are met, successful exploitation can lead to complete host compromise.

Detection Methods for CVE-2021-22543

Indicators of Compromise

  • Unusual KVM-related system calls or memory mapping operations from unprivileged processes
  • Unexpected memory access patterns or page fault anomalies associated with virtual machine processes
  • Kernel log messages indicating memory corruption or invalid page table entries in KVM contexts
  • Signs of privilege escalation following VM-related operations

Detection Strategies

  • Monitor for suspicious mmap() and memory manipulation system calls targeting KVM devices
  • Implement kernel-level auditing of VMA operations, particularly those involving VM_IO and VM_PFNMAP flags
  • Deploy endpoint detection solutions capable of identifying kernel memory manipulation attempts
  • Use behavioral analysis to detect abnormal VM memory access patterns

Monitoring Recommendations

  • Enable kernel auditing for KVM-related operations and memory management subsystem events
  • Configure SentinelOne Singularity platform to monitor for kernel-level exploitation attempts
  • Implement logging for all VM creation, modification, and destruction events
  • Review system logs for kernel warnings related to memory page handling anomalies

How to Mitigate CVE-2021-22543

Immediate Actions Required

  • Update the Linux kernel to a patched version that addresses the KVM VMA handling flaw
  • Restrict VM management capabilities to trusted administrators only
  • Review and audit users and processes with access to KVM functionality
  • Consider temporarily disabling KVM on systems where patching is not immediately possible

Patch Information

Security patches have been released by multiple vendors and distributions. Refer to the following advisories for patch details:

  • GitHub Security Advisory GHSA-7wq5-phmq-m584 - Original security advisory with technical details
  • Debian LTS Announcement October 2021 - Debian security update
  • Debian LTS Announcement December 2021 - Additional Debian update
  • NetApp Security Advisory NTAP-20210708-0002 - NetApp product updates
  • Fedora Package Announcements - Fedora updates

Workarounds

  • Limit access to KVM functionality to only essential and trusted users
  • Implement mandatory access control (MAC) policies using SELinux or AppArmor to restrict VM operations
  • Use network segmentation to isolate systems running critical VMs from untrusted access
  • Monitor VM-related activities closely until patching is completed
bash
# Restrict KVM device access to specific group
sudo chown root:kvm /dev/kvm
sudo chmod 0660 /dev/kvm

# Verify only authorized users are in the kvm group
getent group kvm

# Enable auditing for KVM device access
sudo auditctl -w /dev/kvm -p rwxa -k kvm_access

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 Score8.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-119
  • Technical References
  • Openwall OSS Security Mailing List

  • GitHub Security Advisory GHSA-7wq5-phmq-m584

  • Debian LTS Announcement October 2021

  • Debian LTS Announcement December 2021

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20210708-0002
  • 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