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-2020-36558

CVE-2020-36558: Linux Kernel Race Condition Vulnerability

CVE-2020-36558 is a race condition vulnerability in Linux Kernel involving VT_RESIZEX that can cause NULL pointer dereference. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 4, 2026

CVE-2020-36558 Overview

A race condition vulnerability exists in the Linux kernel before version 5.5.7 involving the VT_RESIZEX ioctl operation. This flaw can lead to a NULL pointer dereference and trigger a general protection fault, potentially causing system instability or denial of service conditions on affected systems.

Critical Impact

Local attackers can exploit this race condition to cause system crashes and denial of service by triggering a NULL pointer dereference through concurrent VT_RESIZEX operations.

Affected Products

  • Linux Kernel versions prior to 5.5.7
  • linux linux_kernel

Discovery Timeline

  • 2022-07-21 - CVE CVE-2020-36558 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-36558

Vulnerability Analysis

This vulnerability is classified as a Race Condition (CWE-362) affecting the Linux kernel's virtual terminal subsystem. The flaw occurs during VT_RESIZEX ioctl operations where improper synchronization between concurrent threads can lead to a NULL pointer being dereferenced. When exploited, this causes a general protection fault that can crash the kernel or cause system instability.

The vulnerability requires local access to exploit, meaning an attacker must have some level of access to the target system. While the attack complexity is considered high due to the precise timing required to win the race condition, successful exploitation does not require any special privileges. The impact is limited to availability, as the vulnerability cannot be used to read or modify sensitive data, but can effectively render the system unusable through repeated crashes.

Root Cause

The root cause of this vulnerability lies in insufficient synchronization mechanisms within the virtual terminal resize handling code. When the VT_RESIZEX ioctl is invoked, the kernel performs operations on VT structures that are not adequately protected against concurrent access. This creates a Time-of-Check Time-of-Use (TOCTOU) window where one thread may check the validity of a pointer while another thread simultaneously modifies or invalidates it, resulting in a NULL pointer dereference when the first thread attempts to use the now-invalid pointer.

Attack Vector

The attack vector is local, requiring an attacker to have existing access to the target system. The exploitation involves making concurrent VT_RESIZEX ioctl calls to create the race condition. While the attack doesn't require user interaction or elevated privileges, the high complexity stems from the need to precisely time the concurrent operations to successfully trigger the race condition. Successful exploitation results in a NULL pointer dereference that causes a general protection fault, leading to a kernel panic or system crash.

The vulnerability affects the virtual terminal subsystem, which is a core kernel component responsible for managing console displays. This makes it potentially exploitable on most Linux systems that utilize virtual terminals, including servers and workstations.

Detection Methods for CVE-2020-36558

Indicators of Compromise

  • Unexpected system crashes or kernel panics related to VT subsystem operations
  • General protection fault errors in kernel logs mentioning VT_RESIZEX or virtual terminal functions
  • Repeated system instability when multiple processes access virtual terminals concurrently
  • Kernel oops messages indicating NULL pointer dereference in console or VT-related code paths

Detection Strategies

  • Monitor kernel logs (/var/log/kern.log or dmesg) for general protection faults and NULL pointer dereference errors
  • Implement system auditing to track ioctl syscalls with VT_RESIZEX operations
  • Deploy kernel-level monitoring to detect abnormal patterns of VT subsystem access
  • Use crash dump analysis tools to identify exploitation attempts from kernel panic data

Monitoring Recommendations

  • Configure centralized logging for all kernel messages across affected systems
  • Set up alerts for repeated system crashes or unexpected reboots on Linux systems running vulnerable kernel versions
  • Monitor process behavior for unusual patterns of ioctl calls to virtual terminal devices
  • Track system stability metrics to identify potential ongoing exploitation attempts

How to Mitigate CVE-2020-36558

Immediate Actions Required

  • Upgrade the Linux kernel to version 5.5.7 or later immediately
  • Review systems running kernel versions below 5.5.7 and prioritize patching based on exposure
  • Consider restricting access to virtual terminal devices for non-essential users
  • Implement monitoring for system crashes that may indicate exploitation attempts

Patch Information

The vulnerability has been addressed in Linux kernel version 5.5.7 and all subsequent releases. The fix implements proper synchronization to prevent the race condition in VT_RESIZEX handling. Detailed patch information is available in the Linux Kernel ChangeLog 5.5.7 and the specific commit addressing this issue can be reviewed at the Linux Kernel Commit Details.

Organizations should update to the patched kernel version as soon as possible. For enterprise distributions, check with your vendor for backported security fixes that may be available for your specific kernel version.

Workarounds

  • Restrict access to /dev/tty* and /dev/console devices to trusted users only
  • Limit local user access to systems running vulnerable kernel versions where patching is not immediately possible
  • Consider disabling VT functionality if not required for system operations
  • Implement mandatory access control (SELinux, AppArmor) policies to restrict ioctl operations on VT devices
bash
# Restrict access to virtual terminal devices
chmod 600 /dev/tty[0-9]*
chmod 600 /dev/console

# Verify current kernel version
uname -r

# Check if kernel is vulnerable (versions below 5.5.7)
# If vulnerable, upgrade kernel immediately

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-362
  • Vendor Resources
  • Linux Kernel ChangeLog 5.5.7

  • Linux Kernel Commit Details
  • Related CVEs
  • CVE-2026-23440: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23434: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23436: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23463: Linux Kernel QBMAN Race Condition 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