Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-71198

CVE-2025-71198: Linux Kernel st_lsm6dsx NULL Pointer Flaw

CVE-2025-71198 is a NULL pointer dereference vulnerability in the Linux kernel st_lsm6dsx IIO driver affecting sensors without event detection. This post covers the technical details, affected versions, and mitigation steps.

Published: February 6, 2026

CVE-2025-71198 Overview

CVE-2025-71198 is a Null Pointer Dereference vulnerability in the Linux kernel's IIO (Industrial I/O) subsystem, specifically affecting the st_lsm6dsx driver used for ST Microelectronics 6-axis IMU sensors. The vulnerability occurs when userspace attempts to configure accelerometer wakeup events on sensor devices that do not support event detection capabilities.

The st_lsm6dsx_acc_channels array of struct iio_chan_spec has a non-NULL event_spec field, incorrectly indicating support for IIO events across all supported sensors. However, event detection is not universally supported, and when userspace tries to configure accelerometer wakeup events on unsupported devices (such as the LSM6DS0), the st_lsm6dsx_write_event() function dereferences a NULL pointer while attempting to write to the wakeup register.

Critical Impact

Local users can trigger a kernel NULL pointer dereference by configuring wakeup events on unsupported st_lsm6dsx sensor devices, potentially causing system instability or denial of service.

Affected Products

  • Linux kernel with st_lsm6dsx IIO driver
  • Systems using ST Microelectronics LSM6DS0 IMU sensors
  • Linux kernel IIO subsystem with event detection enabled

Discovery Timeline

  • February 4, 2026 - CVE-2025-71198 published to NVD
  • February 5, 2026 - Last updated in NVD database

Technical Details for CVE-2025-71198

Vulnerability Analysis

This vulnerability stems from an improper initialization of channel specification structures in the st_lsm6dsx driver. The driver defines a single iio_chan_spec array (st_lsm6dsx_acc_channels) that includes event specification pointers for all supported sensors, regardless of whether individual sensor variants actually support event detection functionality.

When a user attempts to configure wakeup events through the IIO subsystem interface on a sensor that lacks hardware event detection support (such as the LSM6DS0), the st_lsm6dsx_write_event() function is called. This function attempts to access wakeup register configuration through a pointer that is NULL for unsupported sensors, resulting in a kernel NULL pointer dereference.

The vulnerability requires local access to the system and the ability to interact with the IIO subsystem interfaces, typically through sysfs or ioctl calls. While this limits the attack surface, any local user with access to the IIO device interfaces could potentially trigger the vulnerability.

Root Cause

The root cause of this vulnerability is the use of a single struct iio_chan_spec array with non-NULL event_spec fields for all supported sensor variants, without considering that some sensors (like LSM6DS0) do not have hardware support for event detection. The driver lacked proper differentiation between sensors with and without event detection capabilities at the channel specification level.

Attack Vector

An attacker with local access to the system can exploit this vulnerability by:

  1. Identifying a system using an st_lsm6dsx-compatible sensor without event detection support
  2. Accessing the IIO subsystem interface for the accelerometer device
  3. Attempting to configure accelerometer wakeup events through the standard IIO event configuration interface
  4. Triggering the NULL pointer dereference in st_lsm6dsx_write_event() when the driver attempts to write to the non-existent wakeup register

The exploitation does not require elevated privileges beyond access to the IIO device interfaces, making it accessible to unprivileged local users on affected systems.

Detection Methods for CVE-2025-71198

Indicators of Compromise

  • Kernel panic or oops messages referencing st_lsm6dsx_write_event function
  • System instability or crashes when applications interact with LSM6DS0 or similar IMU sensors
  • Kernel log entries showing NULL pointer dereference in the IIO subsystem
  • Unexpected termination of processes accessing IIO accelerometer event configuration

Detection Strategies

  • Monitor kernel logs for NULL pointer dereference errors in the st_lsm6dsx driver module
  • Implement kernel auditing for IIO subsystem event configuration operations
  • Deploy file integrity monitoring on kernel modules to detect unauthorized modifications
  • Use SentinelOne's kernel-level monitoring to detect anomalous driver behavior and crash patterns

Monitoring Recommendations

  • Enable kernel crash dump collection to capture detailed information on NULL pointer dereferences
  • Configure alerting for repeated kernel oops or panics related to IIO drivers
  • Monitor for unusual patterns of IIO device access that could indicate exploitation attempts

How to Mitigate CVE-2025-71198

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix
  • Restrict access to IIO device interfaces to trusted users and applications only
  • Consider disabling the st_lsm6dsx driver module on systems where the affected sensors are not required
  • Monitor systems for signs of exploitation attempts while patches are being deployed

Patch Information

The Linux kernel maintainers have released patches that define an additional struct iio_chan_spec array with NULL event_spec fields for sensors without event detection capability. The fix ensures that sensors like LSM6DS0 use the appropriate channel specification array that does not advertise unsupported event detection features.

Multiple kernel commits address this vulnerability across different stable branches:

  • Kernel Commit 4d60ffcd
  • Kernel Commit 7673167f
  • Kernel Commit 81ed6e42
  • Kernel Commit c34e2e2d

Workarounds

  • Blacklist the st_lsm6dsx kernel module on systems where the sensor is not required using /etc/modprobe.d/
  • Restrict device file permissions for IIO devices to prevent unauthorized access
  • Implement SELinux or AppArmor policies to limit which processes can access IIO subsystem interfaces
bash
# Blacklist the vulnerable driver module if not required
echo "blacklist st_lsm6dsx" | sudo tee /etc/modprobe.d/st_lsm6dsx-blacklist.conf
sudo update-initramfs -u

# Restrict IIO device access (adjust paths as needed)
sudo chmod 600 /sys/bus/iio/devices/*/events/*

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Commit 7673167f

  • Kernel Commit 81ed6e42

  • Kernel Commit c34e2e2d
  • Related CVEs
  • CVE-2026-31439: Linux Kernel XDMA Error Handling Flaw

  • CVE-2026-31441: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31434: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31435: Linux Kernel Read Abandonment 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