In the Linux kernel, the following vulnerability has been resolved:
iio: imu: stlsm6dsx: fix iiochan_spec for sensors without event detection
The stlsm6dsxaccchannels array of struct iiochanspec has a non-NULL eventspec 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), stlsm6dsxwriteevent() dereferences a NULL pointer when trying to write to the wakeup register. Define an additional struct iiochanspec array whose members have a NULL eventspec field, and use this array instead of stlsm6dsxacc_channels for sensors without event detection capability.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71198.json",
"cna_assigner": "Linux"
}