CVE-2025-71198 Details
Description
In the Linux kernel, the following vulnerability has been resolved: iio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection The st_lsm6dsx_acc_channels array of struct iio_chan_spec has a non-NULL event_spec field, indicating support for IIO events. However, event detection is not supported for all sensors, and if userspace tries to configure accelerometer wakeup events on a sensor device that does not support them (e.g. LSM6DS0), st_lsm6dsx_write_event() dereferences a NULL pointer when trying to write to the wakeup register. Define an additional struct iio_chan_spec array whose members have a NULL event_spec field, and use this array instead of st_lsm6dsx_acc_channels for sensors without event detection capability.
A vulnerability exists in the Linux kernel's handling of the ST LSM6DSX inertial measurement unit (IMU) sensors within the industrial I/O (IIO) subsystem. Specifically, the issue arises because the accelerometer channel specification for the ST LSM6DSX sensors incorrectly indicates support for IIO events. This misrepresentation can lead to a null pointer dereference when userspace attempts to configure wakeup events on certain sensor devices, such as the LSM6DS0, which do not support event detection. The problem occurs in versions of the Linux kernel prior to the latest stable release, where the IIO channel specification for the ST LSM6DSX accelerometer incorrectly suggests that all sensors in this family support event detection. As a result, when an application tries to enable wakeup events on a sensor that lacks this capability, the driver function responsible for writing to the event register encounters a null pointer, leading to a crash. The vulnerability has been addressed by introducing a separate channel specification for the LSM6DS0 sensor that correctly reflects its lack of event detection support, thereby preventing the null pointer dereference.
Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/33c683417232b9111e29458954529942137780a3 | kernel.org | |
| https://git.kernel.org/stable/c/4d60ffcdedfe2cdb68a1cde19bb292bc67451629 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7673167fac9323110973a3300637adba7d45de3a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/81ed6e42d6e555dd978c9dd5e3f7c20cb121221b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| STMicroelectronics LSM6DS0 | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 4, 2026 | New CVE Received | kernel.org |
Volerion