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
    • 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-2022-1158

CVE-2022-1158: Linux Kernel KVM DoS Vulnerability

CVE-2022-1158 is a denial of service flaw in Linux Kernel KVM that allows unprivileged users to corrupt the kernel through improper page table handling. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-1158 Overview

A use-after-free vulnerability was discovered in the Linux kernel's KVM (Kernel-based Virtual Machine) hypervisor. When updating a guest's page table entry, the vm_pgoff value was improperly used as the offset to obtain the page's physical frame number (pfn). Since both vaddr and vm_pgoff are controllable by user-mode processes, this flaw enables unprivileged local users on the host system to write outside the designated userspace region, potentially corrupting kernel memory and resulting in denial of service conditions.

Critical Impact

Unprivileged local attackers can corrupt kernel memory through improper page table entry handling in KVM, potentially leading to system instability, denial of service, or local privilege escalation on virtualization hosts.

Affected Products

  • Linux Kernel (multiple versions)
  • Fedora 36
  • Red Hat Enterprise Linux 8.0 and 9.0

Discovery Timeline

  • 2022-08-05 - CVE-2022-1158 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-1158

Vulnerability Analysis

This vulnerability resides in the KVM subsystem's page table entry update mechanism. The flaw is classified as CWE-416 (Use After Free), indicating memory is accessed after it has been freed. The core issue stems from incorrect calculation of physical frame numbers during guest page table updates, where the vm_pgoff field is improperly used as an offset value.

In virtualization environments, the hypervisor must carefully manage memory mappings between guest and host systems. When KVM processes page table entry updates from a guest VM, it calculates the physical frame number to determine which host memory page corresponds to the guest's virtual address. The vulnerable code path incorrectly relies on user-controllable values (vaddr and vm_pgoff) for this calculation, creating an opportunity for memory corruption.

Root Cause

The root cause is improper validation and use of the vm_pgoff field when calculating page frame numbers during guest page table entry updates. The vm_pgoff value, which represents an offset within a virtual memory area, was incorrectly applied to determine the pfn. Since this value can be influenced by user-mode processes, attackers can manipulate the calculation to reference memory outside the intended userspace boundaries, enabling writes to kernel memory regions.

Attack Vector

The attack requires local access to a system running the vulnerable KVM hypervisor. An unprivileged user can exploit this vulnerability by:

  1. Creating a virtual machine or leveraging an existing guest VM environment
  2. Crafting specific memory operations that trigger page table entry updates
  3. Manipulating the vaddr and vm_pgoff values to cause an out-of-bounds memory calculation
  4. Writing arbitrary data to kernel memory regions outside the designated userspace area

The vulnerability is exploitable through local access and requires low privileges to execute. No user interaction is required for successful exploitation. The impact includes potential compromise of confidentiality, integrity, and availability of the affected system.

Detection Methods for CVE-2022-1158

Indicators of Compromise

  • Unexpected kernel panics or system crashes on KVM hypervisor hosts
  • Anomalous memory access patterns in kernel logs related to KVM operations
  • Unusual guest VM behavior during memory-intensive operations
  • System instability following VM page table operations

Detection Strategies

  • Monitor kernel logs (dmesg) for KVM-related warnings, errors, or memory access violations
  • Implement kernel auditing to track suspicious memory operations from unprivileged users
  • Deploy host-based intrusion detection systems configured to detect kernel memory corruption attempts
  • Enable KVM tracing to identify abnormal page table update patterns

Monitoring Recommendations

  • Configure centralized logging for all KVM host systems to capture kernel messages
  • Set up alerting for kernel oops or panic events on virtualization infrastructure
  • Monitor for unauthorized privilege escalation attempts on hypervisor hosts
  • Review system call activity from guest VMs for anomalous memory-related operations

How to Mitigate CVE-2022-1158

Immediate Actions Required

  • Update the Linux kernel to a patched version that addresses CVE-2022-1158
  • Apply vendor-specific patches from Red Hat, Fedora, or your distribution maintainer
  • Restrict local access to KVM hypervisor hosts to trusted administrators only
  • Consider temporarily disabling nested virtualization if not required

Patch Information

Security patches for this vulnerability are available through multiple channels. Red Hat has tracked this issue in Red Hat Bug Report #2069793. NetApp has also published guidance in their Security Advisory NTAP-20230214-0003. Additional technical details were disclosed via the OpenWall OSS-Security List. Organizations should apply kernel updates from their distribution vendors as soon as available.

Workarounds

  • Limit local user access to systems running KVM hypervisor to reduce attack surface
  • Apply the principle of least privilege for all accounts on virtualization hosts
  • Implement network segmentation to isolate hypervisor management interfaces
  • Monitor and restrict the creation of virtual machines to authorized users only
bash
# Check current kernel version for vulnerability status
uname -r

# Verify KVM module is loaded and check version
modinfo kvm | grep -E "version|filename"

# Review kernel security updates available
# For RHEL/CentOS:
yum check-update kernel

# For Fedora:
dnf check-update kernel

# For Debian/Ubuntu:
apt list --upgradable | grep linux

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

  • 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-416
  • Technical References
  • Red Hat Bug Report #2069793

  • NetApp Security Advisory NTAP-20230214-0003

  • OpenWall OSS-Security List Post
  • Related CVEs
  • CVE-2026-31418: Linux Kernel Netfilter IPset DoS Flaw

  • CVE-2026-31420: Linux Kernel Bridge MRP DoS Vulnerability

  • CVE-2026-31415: Linux Kernel IPv6 DoS Vulnerability

  • CVE-2026-31424: Linux Kernel Netfilter 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