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

CVE-2026-31768: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-31768 is a buffer overflow flaw in the Linux kernel's IIO ADC driver that affects DMA-safe memory handling in SPI operations. This article covers the technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-31768 Overview

CVE-2026-31768 is a Linux kernel vulnerability in the ti-adc161s626 Industrial I/O (IIO) analog-to-digital converter driver. The driver passed a stack-allocated buffer to spi_read(), violating the kernel requirement that all Serial Peripheral Interface (SPI) buffers must be DMA-safe. The fix introduces a dedicated DMA-safe buffer and uses a u8[] array instead of __be16 and __be32 types, with corresponding conversion logic.

Critical Impact

Local attackers with low privileges can leverage DMA operations against unsafe stack memory to corrupt kernel state, potentially leading to memory disclosure, integrity loss, or denial of service.

Affected Products

  • Linux kernel versions containing the drivers/iio/adc/ti-adc161s626.c driver prior to the fix
  • Systems using the Texas Instruments ADC161S626 ADC over SPI
  • Embedded and industrial Linux deployments leveraging IIO ADC subsystems

Discovery Timeline

  • 2026-05-01 - CVE-2026-31768 published to the National Vulnerability Database (NVD)
  • 2026-05-03 - Last updated in NVD database

Technical Details for CVE-2026-31768

Vulnerability Analysis

The ti-adc161s626 IIO ADC driver issued spi_read() calls using a buffer allocated on the kernel stack. The Linux SPI subsystem requires that all transfer buffers reside in DMA-safe memory because controllers may perform Direct Memory Access (DMA) directly into the supplied buffer. Stack memory is not guaranteed to be DMA-coherent and may share cache lines with adjacent kernel data.

When DMA is used against a non-DMA-safe stack buffer, cache management operations can corrupt neighboring stack contents or expose stale data. This creates conditions for kernel memory corruption and potential information disclosure on systems where the controller falls back to DMA transfers.

Root Cause

The root cause is improper buffer placement for SPI transfers. The driver used __be16 and __be32 typed variables on the stack to receive ADC samples. These were passed directly to spi_read() without allocating from a DMA-coherent region. The fix replaces these with a u8[] buffer allocated alongside device state, ensuring DMA safety, and adjusts byte-swap conversion accordingly.

Attack Vector

Exploitation requires local access with low privileges to interact with the affected IIO device or trigger ADC reads through sysfs or /dev/iio:deviceX interfaces. An attacker capable of inducing repeated SPI transfers may force DMA-driven memory corruption against the kernel stack. The vulnerability is not remotely exploitable and requires the affected driver to be loaded and bound to hardware.

No public proof-of-concept exploit is available. The remediation is delivered as a series of stable kernel commits referenced in the Kernel Git Commit b3bb8fa and related backports.

Detection Methods for CVE-2026-31768

Indicators of Compromise

  • Unexpected kernel oops or stack corruption messages referencing ti-adc161s626 or spi_read in dmesg
  • Sporadic ADC read failures or implausible sample values from IIO device nodes
  • KASAN (Kernel Address Sanitizer) reports flagging stack-out-of-bounds writes during SPI transfers

Detection Strategies

  • Inventory kernel versions across embedded and industrial Linux fleets to identify hosts running pre-patch builds with the ti-adc161s626 driver enabled
  • Audit lsmod output and /sys/bus/iio/devices/ entries to determine where the vulnerable driver is loaded
  • Correlate kernel log anomalies with userspace processes accessing IIO ADC sysfs attributes

Monitoring Recommendations

  • Forward dmesg and /var/log/kern.log to a centralized logging platform and alert on SPI or IIO subsystem errors
  • Track local privilege boundaries and unexpected access patterns to /dev/iio:device* nodes
  • Monitor kernel package versions through configuration management to detect drift from patched baselines

How to Mitigate CVE-2026-31768

Immediate Actions Required

  • Apply the latest stable Linux kernel update from your distribution that includes the upstream fix for the ti-adc161s626 driver
  • Restrict local access on systems exposing IIO ADC interfaces, particularly multi-tenant or shared embedded platforms
  • Where the driver is unused, unload or blacklist ti-adc161s626 to remove the attack surface

Patch Information

The upstream resolution is distributed across multiple stable branches. Refer to the merged commits: Kernel Git Commit 014c6d2, Kernel Git Commit 67b3a91, Kernel Git Commit 7684615, Kernel Git Commit b3bb8fa, Kernel Git Commit d2d031b, and Kernel Git Commit fa64aab. Track your distribution's security advisories for backported package versions.

Workarounds

  • Blacklist the ti-adc161s626 module on systems that do not require the ADC functionality by adding blacklist ti-adc161s626 to /etc/modprobe.d/
  • Tighten file permissions on /sys/bus/iio/ and /dev/iio:device* to limit access to trusted service accounts
  • Apply mandatory access controls such as SELinux or AppArmor profiles to constrain processes that interact with IIO devices
bash
# Configuration example: blacklist the vulnerable driver until patched
echo "blacklist ti-adc161s626" | sudo tee /etc/modprobe.d/cve-2026-31768.conf
sudo modprobe -r ti-adc161s626
sudo update-initramfs -u

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • 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
  • Technical References
  • Kernel Git Commit 014c6d2

  • Kernel Git Commit 67b3a91

  • Kernel Git Commit 7684615

  • Kernel Git Commit b3bb8fa

  • Kernel Git Commit d2d031b

  • Kernel Git Commit fa64aab
  • Related CVEs
  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

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

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

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