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-2026-43045

CVE-2026-43045: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-43045 is a buffer overflow flaw in the Linux kernel mshv component that causes memory corruption through improper page pinning. This article covers the technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-43045 Overview

CVE-2026-43045 is a Linux kernel vulnerability in the Microsoft Hypervisor (mshv) subsystem. The flaw resides in the mshv_region_pin function, which incorrectly handles return values from pin_user_pages_fast(). When the kernel cannot pin all requested pages, the function may return a short pin count that the current code treats as success. This leads to partially pinned memory regions being used by the hypervisor, resulting in memory corruption. A second issue causes page reference leaks when errors occur mid-loop because already-pinned pages from the current batch are not properly accounted for before cleanup.

Critical Impact

Improper error handling in mshv_region_pin can cause kernel memory corruption and page reference leaks affecting hypervisor stability.

Affected Products

  • Linux kernel versions containing the mshv (Microsoft Hypervisor) subsystem prior to the fix
  • Stable kernel branches receiving the backport via commit a7d149152bc5
  • Stable kernel branches receiving the backport via commit c0e296f25767

Discovery Timeline

  • 2026-05-01 - CVE-2026-43045 published to NVD
  • 2026-05-01 - Last updated in NVD database

Technical Details for CVE-2026-43045

Vulnerability Analysis

The vulnerability exists in the mshv_region_pin function within the Linux kernel's Microsoft Hypervisor (mshv) driver. This function pins user-space memory pages so the hypervisor can safely use them for guest virtual machine memory regions. The function relies on pin_user_pages_fast() to acquire references to the requested pages.

pin_user_pages_fast() follows a partial-success contract. It can return a positive value smaller than the number of requested pages when it successfully pins some pages but cannot pin all of them. The original mshv_region_pin implementation only checked for negative return values, treating any positive return as full success. The function then assumed all requested pages were pinned and accessible to the hypervisor.

Root Cause

Two defects compound in the same code path. First, the success check fails to compare the returned pin count against the requested count, allowing short pins to pass validation. Second, when an error path is taken mid-loop, the cleanup logic does not account for pages already pinned in the current batch before invoking mshv_region_invalidate_pages(). This produces a page reference leak because those pinned pages are never released.

Attack Vector

The affected code runs in kernel context and is reachable through the mshv interface used to manage guest memory regions. Triggering the short-pin condition requires memory pressure or fault scenarios that prevent pin_user_pages_fast() from pinning the full requested range. Successful triggering causes the hypervisor to operate on partially pinned regions, producing memory corruption, or accumulates leaked page references that exhaust kernel resources over time.

No verified public exploit code exists for this vulnerability. The two upstream patches address the issue by treating short pins as errors and fixing the partial-batch accounting before cleanup. See the Kernel Git Commit Details and Kernel Git Commit Changes for the source-level fix.

Detection Methods for CVE-2026-43045

Indicators of Compromise

  • Unexpected kernel oops or panic messages referencing mshv_region_pin or mshv_region_invalidate_pages in dmesg output.
  • Steady growth in pinned page counts reported by /proc/meminfo (Unevictable, Mlocked) on hosts running the mshv driver.
  • Hypervisor guest instability or memory inconsistencies coinciding with host memory pressure events.

Detection Strategies

  • Audit running kernels with uname -r and confirm whether commits a7d149152bc5 or c0e296f25767 are present in the source tree or distribution changelog.
  • Monitor kernel ring buffer logs for warnings emitted from the mshv subsystem during VM lifecycle operations.
  • Track host page pinning metrics over time and alert on sustained increases that do not correlate with active VM workloads.

Monitoring Recommendations

  • Forward kernel logs to a centralized logging or SIEM platform and create alerts for mshv subsystem errors.
  • Establish baselines for pinned and unevictable memory on hypervisor hosts and alert on deviations.
  • Review VM provisioning failures that report memory pinning errors and correlate them with host memory pressure.

How to Mitigate CVE-2026-43045

Immediate Actions Required

  • Apply the upstream kernel patches referenced in commits a7d149152bc5a9119854331c57be35ad31fdf5cc and c0e296f257671ba10249630fe58026f29e4804d9.
  • Update to a distribution kernel package that includes the mshv error-handling fix once your vendor publishes it.
  • Schedule maintenance windows to reboot hypervisor hosts after patching, since kernel changes require restart.

Patch Information

The fix is delivered through two upstream Linux kernel commits in the stable tree. Commit a7d149152bc5 and commit c0e296f25767 modify mshv_region_pin to treat short pin counts from pin_user_pages_fast() as errors and to correctly account for pages pinned in the current batch before invoking cleanup. Distribution maintainers will backport these commits to supported kernel branches. Verify your kernel changelog references these commit hashes before declaring systems remediated.

Workarounds

  • Where patching is not immediately possible, reduce host memory pressure to lower the probability of pin_user_pages_fast() returning short counts.
  • Avoid loading the mshv module on hosts that do not require Microsoft Hypervisor functionality until the kernel is updated.
  • Limit the number and size of guest memory regions pinned concurrently to reduce exposure to the faulty code path.
bash
# Verify kernel version and check for mshv module status
uname -r
lsmod | grep mshv

# Inspect kernel log for mshv subsystem errors
dmesg | grep -i mshv

# Monitor pinned and unevictable memory on hypervisor hosts
grep -E 'Unevictable|Mlocked' /proc/meminfo

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit Details

  • Kernel Git Commit Changes
  • Related CVEs
  • CVE-2026-31747: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31748: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31729: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31707: Linux Kernel Buffer Overflow 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