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

CVE-2026-43458: Linux Kernel Use-After-Free Vulnerability

CVE-2026-43458 is a use-after-free vulnerability in the Linux kernel's serial caif driver that triggers memory corruption in pty_write_room(). This article covers the technical details, affected versions, and mitigation strategies.

Published: May 18, 2026

CVE-2026-43458 Overview

CVE-2026-43458 is a use-after-free vulnerability in the Linux kernel's caif_serial line discipline. The flaw resides in the transmit path, where caif_serial calls tty_write_room() and dereferences tty->link->port after the linked TTY has been freed. A reproducer triggers a KASAN slab-use-after-free in pty_write_room() when the CAIF serial driver accesses the stale pointer. The fix introduces an additional kref reference on tty->link held for the lifetime of the line discipline, acquired in ldisc_open() and released in ser_release() (or on the ldisc_open() error path).

Critical Impact

A local user able to attach the caif_serial line discipline to a pseudo-terminal can trigger kernel memory corruption, potentially leading to denial of service or local privilege escalation.

Affected Products

  • Linux kernel versions containing the caif_serial line discipline prior to the fix
  • Distributions shipping vulnerable stable kernel branches addressed by the referenced commits
  • Systems where unprivileged users can open pseudo-terminals and set line disciplines

Discovery Timeline

  • 2026-05-08 - CVE-2026-43458 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-43458

Vulnerability Analysis

The Communication CPU to Application CPU Interface (CAIF) serial driver implements a TTY line discipline named caif_serial. When the discipline is attached to one end of a pseudo-terminal (PTY) pair, the driver's transmit path invokes tty_write_room(), which on a PTY dereferences tty->link to read the peer's port structure.

The driver did not hold its own reference on tty->link. When the peer end of the PTY pair was closed and freed while the caif_serial side remained active, subsequent transmits accessed freed memory. KASAN flags this as a slab-use-after-free in pty_write_room(), with the faulting access on tty->link->port. The resulting kernel memory corruption can produce panics or be shaped for further exploitation [CWE-416].

Root Cause

The root cause is missing reference-count discipline on the paired TTY. The caif_serial line discipline relied on the lifetime of tty->link without explicitly pinning it. On PTYs, the link endpoint can be released independently, leaving a dangling pointer that the TX path later dereferences.

Attack Vector

A local user opens a PTY pair and attaches the caif_serial line discipline using ioctl(TIOCSETD). The attacker then closes the peer end of the PTY while keeping the CAIF side open and triggers a write. The TX path reaches tty_write_room() and reads tty->link->port from freed slab memory, corrupting kernel state.

The vulnerability is described in prose only. See the upstream fix commits referenced below for the patch implementation, including the added tty_kref_get() in ldisc_open() and matching tty_kref_put() in ser_release() and the error path.

Detection Methods for CVE-2026-43458

Indicators of Compromise

  • KASAN reports in dmesg referencing slab-use-after-free in pty_write_room with call stacks through caif_serial TX functions
  • Unexpected kernel oopses or panics on systems where unprivileged processes interact with PTYs and line disciplines
  • Audit records showing non-root processes invoking ioctl(TIOCSETD) with the CAIF line discipline number

Detection Strategies

  • Enable KASAN on test and pre-production kernels to surface the use-after-free during fuzzing and CI runs
  • Inventory running kernel versions and cross-reference against the fixed commits listed in the kernel.org references
  • Hunt process telemetry for unusual ioctl(TIOCSETD) activity binding caif_serial to TTYs from non-system accounts

Monitoring Recommendations

  • Forward kernel ring buffer and auditd logs to a centralized analytics platform and alert on KASAN, BUG, or general protection fault entries
  • Monitor module load events for caif_serial on systems that do not require CAIF functionality
  • Track local privilege escalation precursors such as repeated kernel crashes on the same host

How to Mitigate CVE-2026-43458

Immediate Actions Required

  • Apply the upstream stable kernel updates that include the caif_serial reference-counting fix
  • On systems that do not require CAIF, blacklist or unload the caif_serial module to remove the attack surface
  • Restrict access to pseudo-terminal creation and line-discipline configuration where operational policy allows

Patch Information

The fix is distributed across multiple stable kernel branches. Relevant commits include 23a3ac2e2262, 27e43356d0de, 288598d80a06, 35b58d3bc716, 52135420e9f7, 8460187b4852, 97a0bb491cae, and ca2ceba983bb. Each adds a kref on tty->link held for the lifetime of the line discipline.

Workarounds

  • Prevent the caif_serial module from loading by adding it to /etc/modprobe.d/ blacklist files on systems that do not need CAIF
  • Reduce exposure by limiting which users can allocate PTYs or change line disciplines through namespace and capability controls
  • Maintain KASAN-enabled test kernels to catch regressions before deploying to production
bash
# Configuration example
echo 'blacklist caif_serial' | sudo tee /etc/modprobe.d/disable-caif-serial.conf
echo 'install caif_serial /bin/true' | sudo tee -a /etc/modprobe.d/disable-caif-serial.conf
sudo depmod -a
sudo rmmod caif_serial 2>/dev/null || true

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.03%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit

  • Kernel Git Commit

  • Kernel Git Commit

  • Kernel Git Commit

  • Kernel Git Commit

  • Kernel Git Commit

  • Kernel Git Commit

  • Kernel Git Commit
  • Related CVEs
  • CVE-2026-43322: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43313: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43297: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43427: Linux Kernel Use-After-Free 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