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-28941

CVE-2020-28941: Linux Kernel Speakup Driver DoS Flaw

CVE-2020-28941 is a denial of service vulnerability in the Linux Kernel speakup driver that enables local attackers to crash systems. This article covers the technical details, affected versions, and mitigation strategies.

Published: March 4, 2026

CVE-2020-28941 Overview

CVE-2020-28941 is a vulnerability discovered in drivers/accessibility/speakup/spk_ttyio.c in the Linux kernel through version 5.9.9. Local attackers on systems with the speakup driver enabled could cause a local denial of service attack. This vulnerability is tracked as CID-d41227544427 and occurs due to an invalid free when the line discipline is used more than once.

Critical Impact

Local attackers can trigger an invalid free condition in the speakup accessibility driver, causing system instability or denial of service on affected Linux systems.

Affected Products

  • Linux Kernel (versions through 5.9.9)
  • Fedora 32 and 33
  • Debian Linux 9.0

Discovery Timeline

  • November 19, 2020 - CVE-2020-28941 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-28941

Vulnerability Analysis

The vulnerability resides in the speakup driver's TTY I/O handling code within drivers/accessibility/speakup/spk_ttyio.c. The speakup driver is an accessibility component that provides a software-based speech synthesizer for the Linux kernel, allowing visually impaired users to interact with the system through audio feedback.

The root issue is a lack of proper synchronization and state management when the line discipline is attached to the TTY device. When a local attacker uses the line discipline multiple times, the driver fails to properly track the allocation state, leading to an invalid free operation that corrupts kernel memory structures and results in a denial of service condition.

Root Cause

The vulnerability stems from missing mutex protection and state validation in the line discipline open function. The original code did not check whether speakup_tty was already in use before allowing another attachment, and lacked proper synchronization when accessing the shared speakup_tty pointer. This allowed concurrent or repeated use of the line discipline to trigger double-free or use-after-free conditions when the allocated ldisc_data structure was freed.

Attack Vector

The attack requires local access to the system with the speakup driver loaded. An attacker can exploit this vulnerability by repeatedly attaching the speakup line discipline to TTY devices, triggering the invalid free condition. While this vulnerability does not allow code execution or information disclosure, it can effectively render the system unusable, impacting system availability.

c
// Security patch demonstrating the fix
// Source: https://github.com/torvalds/linux/commit/d4122754442799187d5d537a9c039a49a67e57f1
 
 	if (!tty->ops->write)
 		return -EOPNOTSUPP;

+	mutex_lock(&speakup_tty_mutex);
+	if (speakup_tty) {
+		mutex_unlock(&speakup_tty_mutex);
+		return -EBUSY;
+	}
 	speakup_tty = tty;

 	ldisc_data = kmalloc(sizeof(*ldisc_data), GFP_KERNEL);
-	if (!ldisc_data)
+	if (!ldisc_data) {
+		speakup_tty = NULL;
+		mutex_unlock(&speakup_tty_mutex);
 		return -ENOMEM;
+	}

 	init_completion(&ldisc_data->completion);
 	ldisc_data->buf_free = true;
 	speakup_tty->disc_data = ldisc_data;
+	mutex_unlock(&speakup_tty_mutex);

 	return 0;
}

The patch adds mutex protection around the speakup_tty assignment and validates that the driver isn't already in use before proceeding, preventing the invalid free condition.

Detection Methods for CVE-2020-28941

Indicators of Compromise

  • Unexpected kernel panics or system crashes related to TTY subsystem operations
  • Kernel log messages referencing speakup driver errors or memory corruption
  • Repeated attempts to access speakup line discipline from local user sessions

Detection Strategies

  • Monitor kernel logs for messages containing speakup, spk_ttyio, or double-free/use-after-free indicators
  • Implement system auditing to track access attempts to speakup driver device files
  • Deploy kernel crash dump analysis tools to identify exploitation attempts targeting this vulnerability

Monitoring Recommendations

  • Configure auditd rules to log interactions with TTY devices when speakup driver is loaded
  • Set up automated alerting for kernel oops or panic messages associated with the accessibility subsystem
  • Monitor for unusual patterns of line discipline attachment operations on production systems

How to Mitigate CVE-2020-28941

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes commit d4122754442799187d5d537a9c039a49a67e57f1
  • Apply distribution-specific security updates from Fedora or Debian if applicable
  • Disable or unload the speakup kernel module on systems where it is not required

Patch Information

The vulnerability was addressed in the Linux kernel through commit d4122754442799187d5d537a9c039a49a67e57f1. Security advisories and patches are available from multiple sources:

  • Linux Kernel Git Commit
  • GitHub Linux Kernel Commit
  • Debian LTS Security Announcement
  • Openwall OSS Security List Disclosure

Workarounds

  • Unload the speakup kernel module using modprobe -r speakup if it is not required for accessibility features
  • Blacklist the speakup module by adding blacklist speakup to /etc/modprobe.d/blacklist.conf to prevent automatic loading
  • Restrict local user access to TTY devices through appropriate file permissions and access control policies
bash
# Configuration example - Disable speakup driver
# Unload the speakup module if currently loaded
sudo modprobe -r speakup

# Prevent the speakup module from loading at boot
echo "blacklist speakup" | sudo tee /etc/modprobe.d/speakup-blacklist.conf

# Verify the module is not loaded
lsmod | grep speakup

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

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.06%

  • 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
  • CWE-763
  • Technical References
  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • Openwall OSS Security List

  • Linux Kernel Commit by Torvalds

  • Linux Kernel Commit by Greg KH

  • GitHub Linux Commit by Torvalds

  • Openwall OSS Security List
  • Related CVEs
  • CVE-2026-23446: Linux Kernel aqc111 Driver DoS Vulnerability

  • CVE-2026-23451: Linux Kernel Bonding Driver DoS Flaw

  • CVE-2026-23460: Linux Kernel ROSE Protocol DoS Vulnerability

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