{"id":"CVE-2025-71198","title":"iio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection\n\nThe st_lsm6dsx_acc_channels array of struct iio_chan_spec has a non-NULL\nevent_spec field, …","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 33c683417232b9111e29458954529942137780a3","Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 7673167fac9323110973a3300637adba7d45de3a","Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 4d60ffcdedfe2cdb68a1cde19bb292bc67451629","Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b","Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3","Linux 5.5"],"published":"2026-02-04","updated":"2026-10-30","sourceUpdated":"2026-10-30T12:23:32.365Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-71198","references":[{"url":"https://git.kernel.org/stable/c/33c683417232b9111e29458954529942137780a3"},{"url":"https://git.kernel.org/stable/c/7673167fac9323110973a3300637adba7d45de3a"},{"url":"https://git.kernel.org/stable/c/4d60ffcdedfe2cdb68a1cde19bb292bc67451629"},{"url":"https://git.kernel.org/stable/c/81ed6e42d6e555dd978c9dd5e3f7c20cb121221b"},{"url":"https://git.kernel.org/stable/c/c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3"}],"tags":["cve.org"],"epss":0.00201,"epssPercentile":0.10065,"ingestedAt":"2026-11-05T15:02:32.174Z","slug":"CVE-2025-71198","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection\n\nThe st_lsm6dsx_acc_channels array of struct iio_chan_spec has a non-NULL\nevent_spec field, indicating support for IIO events. However, event\ndetection is not supported for all sensors, and if userspace tries to\nconfigure accelerometer wakeup events on a sensor device that does not\nsupport them (e.g. LSM6DS0), st_lsm6dsx_write_event() dereferences a NULL\npointer when trying to write to the wakeup register.\nDefine an additional struct iio_chan_spec array whose members have a NULL\nevent_spec field, and use this array instead of st_lsm6dsx_acc_channels for\nsensors without event detection capability.\n\n## Affected\n\n- `Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 33c683417232b9111e29458954529942137780a3`\n- `Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 7673167fac9323110973a3300637adba7d45de3a`\n- `Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 4d60ffcdedfe2cdb68a1cde19bb292bc67451629`\n- `Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b`\n- `Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87 < c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3`\n- `Linux 5.5`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}