CVE-2025-71198: Linux kernel · iio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3 : update Linux kernel when convenient.
Data as of 30 Oct 2026, 12:33 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- Patch
- Available – fixed in c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3, 7673167fac9323110973a3300637adba7d45de3a, 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b +2
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
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.
References
- git.kernel.org/stable/c/33c683417232b9111e29458954529942137780a3 (opens in a new tab)
- git.kernel.org/stable/c/7673167fac9323110973a3300637adba7d45de3a (opens in a new tab)
- git.kernel.org/stable/c/4d60ffcdedfe2cdb68a1cde19bb292bc67451629 (opens in a new tab)
- git.kernel.org/stable/c/81ed6e42d6e555dd978c9dd5e3f7c20cb121221b (opens in a new tab)
- git.kernel.org/stable/c/c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3 (opens in a new tab)