A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-31561

CVE-2026-31561: Linux Kernel Privilege Escalation Flaw

CVE-2026-31561 is a privilege escalation vulnerability in the Linux Kernel affecting CR4 register pinning during FRED initialization. This flaw impacts SEV and TDX guests. This article covers technical details, impact, and fixes.

Published: April 30, 2026

CVE-2026-31561 Overview

CVE-2026-31561 is a vulnerability in the Linux kernel affecting the x86/cpu subsystem related to the CR4 control register pinned bits mask and the FRED (Flexible Return and Event Delivery) feature. The vulnerability creates a timing window during boot when exceptions cannot be properly handled, particularly impacting systems running as SEV-ES, SEV-SNP, or TDX guests, which can lead to triple faults and system crashes.

The core issue stems from a design flaw where the FRED CR4 bit was added to the CR4 pinned bits mask, creating a problematic initialization sequence between the BSP (Bootstrap Processor) and APs (Application Processors). An earlier fix attempted to address this by temporarily disabling CR4 pinning when an AP is not online, but this introduced a security weakness where an attacker could manipulate the online bit in RW memory to disable CR4 pinning and subsequently disable SM*P protections.

Critical Impact

Local attackers with low privileges can cause denial of service through system crashes. The vulnerability affects systems using FRED on x86 architecture, particularly impacting confidential computing environments like SEV-ES, SEV-SNP, and TDX guests.

Affected Products

  • Linux Kernel versions 6.9.x
  • Linux Kernel version 7.0 (rc1 through rc7)
  • Linux Kernel versions prior to the security patch

Discovery Timeline

  • April 24, 2026 - CVE-2026-31561 published to NVD
  • April 27, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31561

Vulnerability Analysis

This vulnerability affects the CR4 control register handling in the Linux kernel's x86/cpu subsystem. The CR4 register contains critical CPU control flags including those for Supervisor Mode Execution Prevention (SMEP) and Supervisor Mode Access Prevention (SMAP). The FRED feature introduces new exception handling mechanisms that require specific MSR (Model-Specific Register) configurations during processor initialization.

The fundamental issue lies in the boot sequence timing between the Bootstrap Processor (BSP) and Application Processors (APs). When FRED initialization occurs on the BSP first, a window exists where APs cannot properly handle exceptions because the FRED MSRs have not yet been configured. This window is particularly dangerous for confidential computing environments running as SEV-ES, SEV-SNP, or TDX guests, where exceptions during this period result in triple faults.

A prior attempted fix introduced a new security concern: by temporarily disabling CR4 pinning when an AP is not online, an attacker who can modify the online bit (located in RW memory) gains the ability to disable CR4 pinning entirely. This opens the door to disabling SM*P protections, leading to potential privilege escalation or further system compromise.

Root Cause

The root cause is the inclusion of the X86_CR4_FRED bit in the CR4 pinned bits mask without properly accounting for the asynchronous nature of processor initialization during system boot. The CR4 pinning mechanism was designed to prevent unauthorized modifications to critical control register bits, but the FRED initialization sequence creates a temporal gap where this protection becomes problematic.

When exceptions occur during the window between BSP FRED initialization and AP FRED initialization, the system lacks proper exception handling infrastructure, causing catastrophic failures in virtualized environments that rely on specific exception delivery mechanisms.

Attack Vector

The vulnerability requires local access to the system with low-level privileges. An attacker could exploit this vulnerability by:

  1. Targeting systems during boot or processor hotplug events
  2. Manipulating the processor online status bit in memory
  3. Forcing exception conditions during the vulnerable initialization window
  4. Leveraging the temporary CR4 pinning bypass to modify protected control register bits

The attack is particularly concerning because it targets a single bit in RW memory, making it a relatively low-complexity exploit path once local access is achieved. The resolution removes the FRED bit from the CR4 pinning mask entirely, ensuring that if FRED is disabled through CR4 manipulation, the idt_invalidate() function will cause the system to crash on the first exception, providing a fail-secure outcome.

Detection Methods for CVE-2026-31561

Indicators of Compromise

  • Unexpected system crashes or triple faults during boot sequences
  • Kernel panic messages referencing CR4, FRED, or exception handling failures
  • Anomalous processor state changes in SEV-ES, SEV-SNP, or TDX guest environments
  • Suspicious modifications to processor online status in /sys/devices/system/cpu/

Detection Strategies

  • Monitor kernel logs for CR4 pinning-related messages or FRED initialization failures
  • Implement runtime integrity checking for processor control register states
  • Deploy endpoint detection solutions capable of monitoring low-level CPU state changes
  • Track boot sequence anomalies and unexpected processor exception events

Monitoring Recommendations

  • Enable detailed kernel logging for x86/cpu subsystem events
  • Configure alerts for unexpected triple faults or boot failures in virtualized environments
  • Monitor SEV-ES, SEV-SNP, and TDX guest stability metrics
  • Implement system integrity verification for critical boot sequences

How to Mitigate CVE-2026-31561

Immediate Actions Required

  • Update the Linux kernel to the latest patched version containing the security fix
  • Review and audit systems using FRED on x86 architecture for potential exposure
  • Prioritize patching for systems running as SEV-ES, SEV-SNP, or TDX guests
  • Monitor system stability during boot sequences until patches are applied

Patch Information

The vulnerability has been resolved through multiple kernel commits that remove X86_CR4_FRED from the CR4 pinned bits mask. This fix ensures that FRED functionality can be safely disabled through CR4 modification, with idt_invalidate() providing a fail-secure mechanism on subsequent exceptions.

Official patches are available through the following kernel commits:

  • Kernel Git Commit 00d956d
  • Kernel Git Commit 411df12
  • Kernel Git Commit a6e1411
  • Kernel Git Commit d7853d9

Workarounds

  • Disable FRED functionality via kernel boot parameters if patching is not immediately feasible
  • Limit local access to systems running vulnerable kernel versions
  • Implement additional access controls for processor configuration interfaces
  • Consider disabling processor hotplug capabilities on critical systems until patched
bash
# Check current kernel version for vulnerability assessment
uname -r

# Verify if FRED is enabled (check for FRED-related CPU flags)
grep -i fred /proc/cpuinfo

# Monitor for CR4-related kernel messages
dmesg | grep -i cr4

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

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

  • 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
  • NVD-CWE-noinfo
  • Vendor Resources
  • Kernel Git Commit 00d956d

  • Kernel Git Commit 411df12

  • Kernel Git Commit a6e1411

  • Kernel Git Commit d7853d9
  • Related CVEs
  • CVE-2026-46228: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-46225: Linux Kernel RSPI Privilege Escalation

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

  • CVE-2026-43332: Linux Kernel Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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