A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-46190

CVE-2026-46190: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-46190 is a buffer overflow vulnerability in the Linux kernel's MTD SPI-NOR debugfs component that causes out-of-bounds reads. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 28, 2026

CVE-2026-46190 Overview

CVE-2026-46190 is an out-of-bounds read vulnerability in the Linux kernel's mtd/spi-nor debugfs interface. The flaw resides in the spi_nor_params_show() function, which incorrectly calculates the size of the snor_f_names array using sizeof() instead of ARRAY_SIZE(). Because snor_f_names is an array of pointers, sizeof() returns the byte length of the pointer storage rather than the element count. On 64-bit systems, this inflates the supposed length by a factor of eight. When spi_nor_print_flags() uses this inflated value for bounds checking, it can read past the end of the array if a flag bit beyond the real element count is set.

Critical Impact

An out-of-bounds read in kernel space exposes adjacent memory contents through debugfs, potentially leaking sensitive kernel data to privileged readers.

Affected Products

  • Linux kernel versions containing the mtd/spi-nor debugfs implementation
  • Systems using SPI-NOR flash memory devices with debugfs enabled
  • 64-bit Linux platforms where the pointer-size miscalculation is most pronounced

Discovery Timeline

  • 2026-05-28 - CVE-2026-46190 published to NVD
  • 2026-05-28 - Last updated in NVD database

Technical Details for CVE-2026-46190

Vulnerability Analysis

The vulnerability lives in the SPI-NOR flash subsystem's debugfs output path. The spi_nor_params_show() function dumps flash device parameters, including a set of capability flags translated into human-readable strings via the snor_f_names lookup array. The function passes sizeof(snor_f_names) to spi_nor_print_flags() as the bounds-check length.

Because snor_f_names is declared as an array of const char * pointers, sizeof() evaluates to element_count * sizeof(void *). On a 64-bit kernel, sizeof(void *) equals 8, so the value passed is eight times larger than the true element count. spi_nor_print_flags() uses this inflated value as the upper bound when indexing names[i] for each set flag bit.

If any flag bit position falls between the real element count and the inflated count, the lookup dereferences memory beyond the array boundary. The result is an out-of-bounds read [CWE-125] that returns whatever pointer-aligned data follows snor_f_names in kernel memory.

Root Cause

The root cause is a misuse of the sizeof() operator on an array of pointers. Kernel code should use the ARRAY_SIZE() macro to obtain element counts, which divides sizeof(array) by sizeof(array[0]). The fix replaces sizeof(snor_f_names) with ARRAY_SIZE(snor_f_names), restoring the correct element count for the bounds check.

Attack Vector

Exploitation requires local access with permission to read the relevant debugfs file under /sys/kernel/debug/spi-nor/. Debugfs is typically restricted to root, which limits the practical attack surface. A local privileged process triggering a read of the parameter file on a device whose flag set includes bits beyond the array length can induce the out-of-bounds read and observe leaked kernel memory in the resulting output.

No verified exploit code is publicly available for this issue. The fix is documented across multiple stable kernel commits referenced in the kernel.org commit logs.

Detection Methods for CVE-2026-46190

Indicators of Compromise

  • Unexpected access patterns to /sys/kernel/debug/spi-nor/*/params from non-administrative processes
  • KASAN (Kernel Address Sanitizer) reports flagging out-of-bounds reads inside spi_nor_print_flags()
  • Anomalous string content appearing in debugfs SPI-NOR parameter output that does not match documented flag names

Detection Strategies

  • Enable CONFIG_KASAN on test kernels to surface out-of-bounds reads in spi_nor_params_show() before production deployment
  • Audit running kernel versions against the patched commits referenced in the stable kernel git history
  • Compare installed kernel package versions to distribution security advisories tracking this fix

Monitoring Recommendations

  • Monitor process access to debugfs paths, particularly /sys/kernel/debug/spi-nor/, and alert on reads by unexpected users
  • Track kernel log entries for KASAN or slab corruption warnings tied to the mtd subsystem
  • Inventory systems using SPI-NOR flash hardware to prioritize patching scope

How to Mitigate CVE-2026-46190

Immediate Actions Required

  • Apply the upstream kernel patch that replaces sizeof(snor_f_names) with ARRAY_SIZE(snor_f_names) in spi_nor_params_show()
  • Update to a stable Linux kernel release containing the fix from the referenced commits, including 34bdcfb496b29f9a52431194f94473b37fb8c162 and e47029b977e747cb3a9174308fd55762cce70147
  • Restrict debugfs mount permissions so only administrative users can read SPI-NOR parameter files

Patch Information

The fix is committed to the upstream Linux kernel and backported to multiple stable branches. Refer to the kernel.org stable commit and the additional backport for the exact changes. Distribution vendors publish corresponding kernel updates through their standard channels.

Workarounds

  • Unmount or restrict access to debugfs by mounting it with mode=0700 and uid=0,gid=0 until patched kernels are deployed
  • Disable CONFIG_DEBUG_FS in kernel builds where debugfs is not required for operations
  • Limit SPI-NOR debugfs file permissions via udev or systemd-tmpfiles rules where the kernel cannot be immediately updated
bash
# Restrict debugfs access to root only
mount -o remount,mode=0700 /sys/kernel/debug

# Verify current kernel version against patched releases
uname -r

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

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

  • Kernel Git Commit Log

  • Kernel Git Commit Log

  • Kernel Git Commit Log

  • Kernel Git Commit Log
  • Related CVEs
  • CVE-2026-52907: Linux Kernel Rockchip Buffer Overflow

  • CVE-2026-52906: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-52905: Linux Kernel DAMON Region Vulnerability

  • CVE-2026-52904: Linux Kernel Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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