CVE-2025-71198
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-71198 is a NULL pointer dereference vulnerability in the Linux kernel's IIO (Industrial I/O) subsystem, specifically within the st_lsm6dsx IMU driver. The flaw exists because the st_lsm6dsx_acc_channels array of struct iio_chan_spec has a non-NULL event_spec field, incorrectly indicating event detection support for all sensors in the family. When userspace attempts to configure accelerometer wakeup events on a sensor that does not support them (e.g., LSM6DS0), st_lsm6dsx_write_event() dereferences a NULL pointer while attempting to write to the wakeup register. The vulnerability was published on February 4, 2026, and affects Linux kernel versions from 5.5 up to the patched stable releases. The CVSS category is estimated as Medium, with an EPSS score of approximately 0.018% (Feedly, EUVD).

Technical details

The root cause is a NULL pointer dereference (CWE-476) in the st_lsm6dsx driver under drivers/iio/imu/st_lsm6dsx/. The st_lsm6dsx_acc_channels array is shared across all sensors in the LSM6DSx family, but not all sensors support IIO event detection. When a sensor without event detection capability (such as the LSM6DS0) is used and userspace writes to the event configuration interface, st_lsm6dsx_write_event() attempts to access a wakeup register pointer that is NULL for that sensor, triggering a kernel NULL pointer dereference. The fix introduces a separate iio_chan_spec array with a NULL event_spec field, which is used for sensors lacking event detection support, preventing the erroneous dereference (Feedly, Linux Kernel Patches).

Impact

Successful exploitation of this vulnerability can cause a kernel NULL pointer dereference, leading to a kernel panic and system crash, resulting in a denial of service (DoS) condition. The impact is limited to availability — confidentiality and integrity are not directly affected. Exploitation requires local access to a system with an affected LSM6DSx-family sensor (e.g., LSM6DS0) and the ability to write to the IIO event configuration interface from userspace (Feedly, EUVD).

Mitigation and workarounds

The Linux kernel maintainers have released patches addressing this vulnerability in stable branches. Fixed versions include Linux 6.6.122, 6.12.68, 6.18.8, and 6.19-rc7, with corresponding commits available in the stable kernel tree. Users running affected kernel versions on systems with LSM6DSx-family sensors (particularly LSM6DS0) should update to a patched kernel version. Distribution-specific updates have been issued by Ubuntu (USN-8278-1, USN-8278-2, USN-8289-1, USN-8289-2, USN-8296-1, USN-8296-2, USN-8393-1) and SUSE (Ubuntu Security, Linux Kernel Patches, Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management