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

CVE-2020-13974: Linux Kernel Buffer Overflow Vulnerability

CVE-2020-13974 is a buffer overflow vulnerability in the Linux Kernel affecting versions 4.4 through 5.7.1. This article covers the technical details, affected systems, potential impact, and available mitigation strategies.

Published: March 4, 2026

CVE-2020-13974 Overview

An integer overflow vulnerability was discovered in the Linux kernel affecting versions 4.4 through 5.7.1. The vulnerability exists in drivers/tty/vt/keyboard.c and can be triggered when the k_ascii function is called multiple times in succession. This issue is tracked as CID-b86dab054059.

Critical Impact

Local attackers with low privileges could potentially exploit this integer overflow to compromise system confidentiality, integrity, and availability, though community debate exists regarding the practical exploitability of this vulnerability.

Affected Products

  • Linux Kernel versions 4.4 through 5.7.1
  • Debian Linux 9.0
  • Canonical Ubuntu Linux 14.04 ESM, 16.04 ESM, 18.04 LTS, and 20.04 LTS

Discovery Timeline

  • June 9, 2020 - CVE-2020-13974 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-13974

Vulnerability Analysis

This vulnerability is classified as an Integer Overflow (CWE-190) affecting the Linux kernel's virtual terminal keyboard driver. The flaw resides in the k_ascii function within drivers/tty/vt/keyboard.c, which handles ASCII key input processing for virtual terminals.

When k_ascii is invoked repeatedly in rapid succession, an integer overflow condition can occur. Integer overflows happen when arithmetic operations produce values that exceed the maximum representable value for the data type, causing the value to wrap around unexpectedly. In the context of kernel code, such behavior can lead to incorrect memory calculations, buffer mismanagement, or other undefined behavior.

It is important to note that members of the Linux kernel community have debated whether this integer overflow actually leads to a practical security vulnerability in real-world scenarios. Exploitation would require local access to the system with low privileges, and the attacker would need to interact with the virtual terminal subsystem directly.

Root Cause

The root cause is improper handling of integer arithmetic in the k_ascii function. When this function processes ASCII input from the keyboard, repeated calls can cause an internal counter or accumulator variable to exceed its maximum value, resulting in an integer wrap-around. The code did not include adequate bounds checking to prevent this overflow condition, allowing the arithmetic to produce unexpected results.

Attack Vector

The attack vector is local, requiring an attacker to have authenticated access to the target system with low privileges. The attacker would need to interact with the virtual terminal keyboard subsystem, potentially through crafted input sequences that cause the k_ascii function to be invoked multiple times in succession. No user interaction beyond initial authentication is required for exploitation.

The vulnerability could theoretically be triggered by sending specific keyboard input sequences to the virtual terminal, causing the integer overflow in the affected code path.

Detection Methods for CVE-2020-13974

Indicators of Compromise

  • Unusual activity or crashes associated with the virtual terminal subsystem (/dev/tty* devices)
  • Kernel panic or oops messages referencing keyboard.c or the k_ascii function
  • Unexpected behavior when interacting with virtual consoles

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for errors or warnings related to the VT keyboard driver
  • Implement kernel integrity monitoring to detect unexpected modifications to the affected driver module
  • Deploy endpoint detection and response (EDR) solutions capable of monitoring kernel-level activity

Monitoring Recommendations

  • Enable audit logging for virtual terminal access and suspicious keyboard input patterns
  • Monitor for privilege escalation attempts following virtual terminal interactions
  • Implement SentinelOne Singularity Platform for real-time kernel-level threat detection and behavioral analysis

How to Mitigate CVE-2020-13974

Immediate Actions Required

  • Update the Linux kernel to a patched version that addresses CID-b86dab054059
  • Apply vendor-provided security updates for Debian, Ubuntu, openSUSE, and Oracle Linux
  • Restrict local access to systems running vulnerable kernel versions where possible

Patch Information

The Linux kernel maintainers have addressed this vulnerability through commit b86dab054059b970111b5516ae548efaae5b3aae in the mainline kernel repository. Multiple distributions have released security updates:

  • Debian: Debian LTS Security Announcement August 2020
  • Ubuntu: USN-4427-1, USN-4439-1, USN-4440-1, USN-4483-1, USN-4485-1
  • openSUSE: OpenSUSE Security Announcement July 2020, OpenSUSE Security Announcement August 2020
  • Oracle: Oracle Security Alert July 2022

Refer to the Linux Kernel Commit for technical details on the fix.

Workarounds

  • Limit physical and remote access to virtual terminals on affected systems
  • Consider disabling unused virtual terminals if not required for operations
  • Implement strict access controls using SELinux or AppArmor to restrict VT subsystem access
bash
# Example: Check current kernel version and verify if patched
uname -r
# Compare against patched kernel versions from your distribution

# Example: Restrict virtual terminal access using permissions
chmod 600 /dev/tty[1-6]

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • OpenSUSE Security Announcement July 2020

  • OpenSUSE Security Announcement August 2020

  • Debian LTS Security Announcement August 2020

  • Ubuntu Security Notice USN-4427-1

  • Ubuntu Security Notice USN-4439-1

  • Ubuntu Security Notice USN-4440-1

  • Ubuntu Security Notice USN-4483-1

  • Ubuntu Security Notice USN-4485-1

  • Oracle Security Alert July 2022
  • Vendor Resources
  • Linux Kernel Commit Update

  • Linux Kernel Commit Update

  • Linux Kernel Mailing List Update
  • Related CVEs
  • CVE-2026-23455: Linux Kernel Buffer Overflow Vulnerability

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

  • CVE-2026-3038: Kernel Buffer Overflow Vulnerability

  • CVE-2026-23062: 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