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

CVE-2026-23217: Linux Kernel Trace Snapshot DoS Vulnerability

CVE-2026-23217 is a denial of service vulnerability in the Linux kernel's RISC-V tracing system that causes snapshot deadlocks. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: February 20, 2026

CVE-2026-23217 Overview

A deadlock vulnerability has been identified in the Linux kernel affecting RISC-V architecture systems. The flaw exists in the sbi_ecall.c functions when combined with the ftrace snapshot feature. When tracing is enabled on __sbi_ecall functions, triggering a snapshot of the ring buffer can cause the kernel to enter an infinite loop and deadlock state.

The vulnerability occurs because the snapshot code raises an IPI (Inter-Processor Interrupt) interrupt, which in turn results in another call to __sbi_ecall and triggers another snapshot, creating an endless recursive loop. This is particularly problematic on RISC-V systems without the SSTC (Supervisor-mode Timer and Counter) extension, where clock events in timer-riscv.c issue periodic SBI ecalls, making the deadlock condition trivially easy to trigger.

Critical Impact

Local attackers or misconfigured tracing settings can cause a complete system deadlock on affected RISC-V Linux systems, resulting in denial of service requiring a hard reboot.

Affected Products

  • Linux kernel (RISC-V architecture)
  • RISC-V systems without SSTC extension
  • Systems with CONFIG_RISCV_ALTERNATIVE_EARLY not set

Discovery Timeline

  • 2026-02-18 - CVE-2026-23217 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2026-23217

Vulnerability Analysis

This vulnerability represents a classic deadlock condition caused by recursive function invocation through interrupt handling. The root issue lies in the interaction between the kernel's ftrace subsystem and the RISC-V Supervisor Binary Interface (SBI) ecall mechanism.

When a user or process configures ftrace to snapshot the __sbi_ecall function via the /sys/kernel/tracing/set_ftrace_filter interface, any subsequent SBI ecall triggers the snapshot mechanism. The snapshot code internally raises an IPI interrupt to synchronize data across processors. However, this IPI handling path itself invokes __sbi_ecall, which triggers another snapshot, creating an infinite recursion that rapidly exhausts system resources and causes a deadlock.

The condition becomes particularly severe on RISC-V systems lacking the SSTC extension because the timer subsystem (timer-riscv.c) periodically issues SBI ecalls for clock events. This means the vulnerability can be triggered passively without any explicit user action beyond enabling tracing on the affected functions.

Root Cause

The root cause is the absence of proper exclusion of sbi_ecall.c functions from the ftrace tracing framework. While functions in sbi_ecall.c are excluded when CONFIG_RISCV_ALTERNATIVE_EARLY is set, this configuration is not universally enabled, leaving many RISC-V deployments vulnerable to this deadlock condition.

The fix addresses this by unconditionally excluding all sbi_ecall.c functions from function tracing, regardless of kernel configuration options. Since SBI ecalls can be effectively logged via dedicated trace events, excluding these functions from general function tracing does not significantly limit debugging capabilities.

Attack Vector

The vulnerability can be exploited locally by any user with write access to the ftrace control files in /sys/kernel/tracing/. An attacker can trigger the deadlock by writing a snapshot filter for the __sbi_ecall function:

The attack requires local access to the tracing interface, typically available to root or users with appropriate capabilities. Once the filter is set, the next SBI ecall (which occurs frequently due to timer interrupts on systems without SSTC) will trigger the infinite loop and system deadlock.

Detection Methods for CVE-2026-23217

Indicators of Compromise

  • System hangs or becomes completely unresponsive on RISC-V platforms
  • Kernel log entries showing ftrace snapshot operations on __sbi_ecall functions immediately before system freeze
  • Presence of suspicious entries in /sys/kernel/tracing/set_ftrace_filter referencing __sbi_ecall:snapshot
  • Unexpected modifications to ftrace configuration files by non-administrative users

Detection Strategies

  • Monitor access to /sys/kernel/tracing/set_ftrace_filter for suspicious write operations
  • Audit kernel configuration to verify CONFIG_RISCV_ALTERNATIVE_EARLY status on RISC-V systems
  • Implement file integrity monitoring on ftrace control interfaces
  • Review system logs for patterns indicating recursive snapshot triggers before system hangs

Monitoring Recommendations

  • Deploy endpoint detection solutions capable of monitoring kernel subsystem interactions
  • Configure audit rules for tracing-related file modifications in /sys/kernel/tracing/
  • Establish baseline ftrace configurations and alert on unauthorized changes
  • Monitor for sudden system hangs on RISC-V infrastructure that require hard reboots

How to Mitigate CVE-2026-23217

Immediate Actions Required

  • Apply the latest kernel patches that exclude sbi_ecall.c functions from tracing
  • Restrict access to /sys/kernel/tracing/ to only trusted administrative users
  • Enable CONFIG_RISCV_ALTERNATIVE_EARLY if possible in kernel configurations
  • Consider disabling ftrace on production RISC-V systems if not actively needed

Patch Information

The Linux kernel development team has released patches to address this vulnerability. The fix ensures that all sbi_ecall.c functions are unconditionally excluded from function tracing, preventing the recursive snapshot deadlock condition.

Patches are available through the following kernel git commits:

  • Kernel Git Commit b0d7f5f0c9f0
  • Kernel Git Commit b1f8285bc8e3

Organizations running RISC-V Linux systems should update to kernel versions containing these fixes as soon as possible.

Workarounds

  • Enable CONFIG_RISCV_ALTERNATIVE_EARLY in kernel configuration and rebuild the kernel
  • Manually remove any __sbi_ecall entries from ftrace filters by clearing /sys/kernel/tracing/set_ftrace_filter
  • Restrict write permissions on /sys/kernel/tracing/ directory to prevent unauthorized filter modifications
  • Use dedicated SBI trace events instead of function tracing for monitoring ecall activity
bash
# Clear existing ftrace filters on RISC-V systems
echo "" > /sys/kernel/tracing/set_ftrace_filter

# Restrict tracing directory access
chmod 700 /sys/kernel/tracing/
chown root:root /sys/kernel/tracing/

# Verify no sbi_ecall functions are being traced
grep sbi /sys/kernel/tracing/set_ftrace_filter

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit
  • Related CVEs
  • CVE-2026-31418: Linux Kernel Netfilter IPset DoS Flaw

  • CVE-2026-31420: Linux Kernel Bridge MRP DoS Vulnerability

  • CVE-2026-31415: Linux Kernel IPv6 DoS Vulnerability

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