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-2026-23390

CVE-2026-23390: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-23390 is a buffer overflow vulnerability in the Linux kernel's dma_map_sg tracepoint that can trigger perf buffer overflows with large scatter-gather lists. This article covers technical details, impact, and mitigation.

Published: March 27, 2026

CVE-2026-23390 Overview

A buffer overflow vulnerability exists in the Linux kernel's DMA tracing subsystem. The dma_map_sg tracepoint can trigger a perf buffer overflow when tracing large scatter-gather lists. When devices such as virtio-gpu create large DRM buffers, the number of entries (nents) can exceed 1000, resulting in memory allocations that exceed the PERF_MAX_TRACE_SIZE limit of 8192 bytes.

The vulnerability occurs because dynamic array allocations for physical addresses, DMA addresses, and lengths are not properly capped, allowing a combined allocation of approximately 20,000 bytes when processing large scatter-gather operations.

Critical Impact

Uncapped array allocations in the DMA tracing subsystem can cause kernel warnings and potential system instability when tracing operations with large scatter-gather lists exceed the perf buffer size limit.

Affected Products

  • Linux Kernel (tracing/dma subsystem)
  • Systems using virtio-gpu with large DRM buffers
  • Systems with DMA tracing enabled via perf

Discovery Timeline

  • 2026-03-25 - CVE CVE-2026-23390 published to NVD
  • 2026-03-25 - Last updated in NVD database

Technical Details for CVE-2026-23390

Vulnerability Analysis

The vulnerability resides in the Linux kernel's DMA tracing infrastructure, specifically within the dma_map_sg tracepoint implementation. When tracing scatter-gather DMA operations, the kernel allocates dynamic arrays to record physical addresses, DMA addresses, and segment lengths for each entry in the scatter-gather list.

The core issue is the absence of bounds checking on these array allocations. With devices like virtio-gpu creating large DRM buffers, the number of scatter-gather entries can exceed 1000, leading to:

  • phys_addrs: 1000 × 8 bytes = 8,000 bytes
  • dma_addrs: 1000 × 8 bytes = 8,000 bytes
  • lengths: 1000 × 4 bytes = 4,000 bytes
  • Total: ~20,000 bytes

This total exceeds PERF_MAX_TRACE_SIZE (8192 bytes), triggering a kernel warning in kernel/trace/trace_event_perf.c at line 405.

Root Cause

The root cause is the lack of array size capping in the DMA tracing tracepoint implementation. The dynamic arrays used to store scatter-gather entry information grow proportionally with the number of entries without any upper bound validation. This design oversight allows legitimate large DMA operations to exceed kernel buffer limits, causing overflow conditions.

The fix introduces a DMA_TRACE_MAX_ENTRIES constant of 128 entries and uses min(nents, DMA_TRACE_MAX_ENTRIES) for dynamic array sizing. This ensures arrays are only as large as needed up to the cap, avoiding unnecessary memory allocation for small operations while preventing overflow for large ones. A truncated flag is also added so users can identify when data has been capped.

Attack Vector

This vulnerability is primarily a reliability and stability issue rather than a direct security exploitation vector. The attack scenario involves:

  1. An attacker or application triggers DMA operations with large scatter-gather lists (>128 entries)
  2. When DMA tracing is enabled via perf, the kernel attempts to allocate oversized trace buffers
  3. The allocation exceeds PERF_MAX_TRACE_SIZE, causing kernel warnings and potential trace data loss
  4. In worst-case scenarios, this could lead to system instability or denial of service conditions

The vulnerability requires DMA tracing to be enabled and the system to be performing large scatter-gather DMA operations, limiting its practical exploitability.

Detection Methods for CVE-2026-23390

Indicators of Compromise

  • Kernel warning messages containing "perf buffer not large enough" in system logs
  • Warnings at kernel/trace/trace_event_perf.c:405 indicating buffer overflow conditions
  • Trace data loss when monitoring DMA operations with large scatter-gather lists

Detection Strategies

  • Monitor kernel logs (dmesg) for warnings related to perf buffer size limitations
  • Check for repeated warnings involving trace_event_perf.c during DMA-intensive workloads
  • Review system stability issues correlated with virtio-gpu or other devices performing large DMA operations
  • Audit perf trace configurations to identify when dma_map_sg tracepoints are enabled

Monitoring Recommendations

  • Implement alerting for kernel warning messages related to trace buffer overflows
  • Monitor system stability metrics during DMA-intensive workloads
  • Track kernel log entries for messages containing "wanted" and "have" byte comparisons indicating buffer mismatches
  • Review perf tracing configurations to ensure appropriate buffer sizing

How to Mitigate CVE-2026-23390

Immediate Actions Required

  • Apply the latest kernel patches containing the DMA tracing buffer overflow fix
  • Consider disabling DMA tracing via perf if not actively required for debugging
  • Monitor systems running virtio-gpu or other devices with large scatter-gather operations for stability issues
  • Review and apply kernel updates from the stable branch

Patch Information

The vulnerability has been addressed through kernel patches that cap dynamic array sizes at 128 entries using min(nents, DMA_TRACE_MAX_ENTRIES). The patches are available through the following commits:

  • Kernel Git Commit 02d209bb
  • Kernel Git Commit daafcc0e
  • Kernel Git Commit f2584f79

The fix ensures arrays are dynamically sized up to the cap, avoiding waste for small operations while preventing overflow for large ones. The tracepoint now records full nents/ents counts and a truncated flag so users can see when data has been capped.

Workarounds

  • Disable DMA tracing via perf if it is not required for active debugging or monitoring
  • Limit scatter-gather list sizes in applications where possible
  • Use alternative tracing mechanisms that do not have buffer size limitations
  • Monitor for kernel updates and apply patches as soon as they become available for your distribution
bash
# Disable DMA tracing temporarily
echo 0 > /sys/kernel/debug/tracing/events/dma/dma_map_sg/enable

# Verify tracing status
cat /sys/kernel/debug/tracing/events/dma/dma_map_sg/enable

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 Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit Log

  • Kernel Git Commit Log
  • Related CVEs
  • CVE-2026-23407: Linux Kernel Buffer Overflow Vulnerability

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

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

  • CVE-2026-23323: Linux Kernel Buffer Overflow Vulnerability
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