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
    • 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-33656

CVE-2021-33656: Openatom Openeuler Buffer Overflow Flaw

CVE-2021-33656 is a buffer overflow vulnerability in Openatom Openeuler triggered by the PIO_FONT ioctl command with malicious data. This flaw allows kernel memory writes beyond bounds, posing significant security risks.

Published: February 25, 2026

CVE-2021-33656 Overview

CVE-2021-33656 is an out-of-bounds write vulnerability in the Linux kernel that occurs when setting font data through the PIO_FONT ioctl command. When malicious data is provided to this ioctl interface, the kernel fails to properly validate the input, leading to memory corruption by writing beyond allocated buffer boundaries. This vulnerability affects multiple Linux distributions including openEuler, Debian Linux, and the upstream Linux kernel.

Critical Impact

Successful exploitation of this vulnerability can lead to local privilege escalation, kernel memory corruption, or denial of service through physical access to the system.

Affected Products

  • Linux Kernel (versions prior to the security fix)
  • openEuler 20.03 LTS (including SP1 and SP3)
  • Debian Linux 10.0

Discovery Timeline

  • 2022-07-18 - CVE-2021-33656 published to NVD
  • 2025-04-02 - Last updated in NVD database

Technical Details for CVE-2021-33656

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-bounds Write), a memory corruption issue that occurs within the Linux kernel's virtual terminal (VT) font handling subsystem. The flaw exists in the processing of the PIO_FONT ioctl command, which is used to set console fonts.

When a user with access to the console device issues a PIO_FONT ioctl call with specially crafted font data, the kernel copies the provided data into internal buffers without adequate bounds checking. This allows an attacker to write beyond the intended memory region, potentially corrupting adjacent kernel memory structures.

The vulnerability requires physical access to the system, as the attack vector involves direct interaction with console devices. However, once exploited, the consequences can be severe—ranging from kernel crashes and denial of service to potential privilege escalation if the attacker can precisely control the corrupted memory regions.

Root Cause

The root cause of this vulnerability lies in insufficient input validation in the legacy font ioctl handlers within the Linux kernel's VT subsystem. The PIO_FONT ioctl does not properly verify the size and boundaries of user-supplied font data before copying it into kernel memory. This oversight allows maliciously crafted input to exceed buffer boundaries, resulting in out-of-bounds memory writes.

The fix involves dropping support for the old, insecure font ioctls entirely, as indicated by the patch named vt-drop-old-font-ioctls.patch. This approach eliminates the vulnerable code path rather than attempting to add bounds checking to legacy interfaces.

Attack Vector

The attack requires physical access to the target system. An attacker with access to the console device (typically /dev/console or /dev/tty) can craft a malicious ioctl request targeting the PIO_FONT command. The attack flow proceeds as follows:

  1. The attacker opens a console device with appropriate permissions
  2. A specially crafted font structure with oversized or malformed data is prepared
  3. The ioctl() system call is invoked with the PIO_FONT command
  4. The kernel processes the request without proper bounds validation
  5. Memory corruption occurs as data is written beyond buffer boundaries

This can potentially be leveraged to corrupt kernel data structures, crash the system, or in sophisticated attacks, achieve code execution in kernel context.

Detection Methods for CVE-2021-33656

Indicators of Compromise

  • Unexpected kernel crashes or panics related to VT or font subsystems
  • Unusual ioctl calls to console devices (/dev/console, /dev/tty*)
  • System instability or memory corruption symptoms after console access
  • Kernel log messages indicating memory violations in VT-related functions

Detection Strategies

  • Monitor for unusual ioctl system calls targeting console devices using system call auditing
  • Implement kernel-level monitoring for PIO_FONT ioctl invocations
  • Deploy SentinelOne Singularity Platform to detect kernel-level exploitation attempts
  • Enable kernel memory protection features such as KASLR and SMAP to complicate exploitation

Monitoring Recommendations

  • Configure auditd to log all ioctl calls to /dev/console and /dev/tty* devices
  • Review kernel logs for memory corruption warnings or VT subsystem errors
  • Implement endpoint detection and response (EDR) solutions capable of detecting privilege escalation attempts
  • Monitor for processes making unusual system calls related to terminal font operations

How to Mitigate CVE-2021-33656

Immediate Actions Required

  • Update the Linux kernel to version 5.10.127 or later which includes the security fix
  • Apply vendor-specific patches from your Linux distribution (Debian, openEuler, etc.)
  • Restrict physical access to systems and console devices where possible
  • Review and limit user permissions to console and TTY devices

Patch Information

The vulnerability has been addressed through the removal of legacy font ioctl handlers. The patch vt-drop-old-font-ioctls.patch is available in Linux kernel stable releases starting from version 5.10.127. Distribution-specific patches are available through the following resources:

  • Linux Kernel Patch for 5.10.127 - Official kernel patch
  • Debian LTS Announcement - Debian security updates
  • OpenEuler CVE-2021-33656 Details - openEuler advisory

Workarounds

  • Limit physical access to systems and restrict who can log in at the console
  • Use SELinux or AppArmor policies to restrict ioctl operations on console devices
  • Disable unused console/TTY devices where operationally feasible
  • Consider deploying kernel hardening options such as CONFIG_HARDENED_USERCOPY
bash
# Restrict console device permissions as a temporary mitigation
chmod 600 /dev/console
chmod 600 /dev/tty*

# Verify current kernel version
uname -r

# Update kernel on Debian-based systems
apt update && apt upgrade linux-image-$(uname -r)

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechOpenatom Openeuler

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Debian LTS Announcement

  • OpenEuler CVE-2021-33656 Details
  • Vendor Resources
  • Openwall OSS-Security Mailing List

  • Linux Kernel Patch for 5.10.127
  • Related CVEs
  • CVE-2021-33631: Openatom Openeuler Integer Overflow 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