{"id":"CVE-2025-71198","aliases":["CVE-2025-71198"],"related":[],"kind":"vulnerability","state":"published","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, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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, 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niio: imu: st_lsm6dsx: corregir iio_chan_spec para sensores sin detección de eventos\n\nEl array st_lsm6dsx_acc_channels de la estructura iio_chan_spec tiene un campo event_spec no nulo, indicando soporte para eventos IIO. Sin embargo, la detección de eventos no es compatible con todos los sensores, y si el espacio de usuario intenta configurar eventos de activación del acelerómetro en un dispositivo sensor que no los soporta (p. ej., LSM6DS0), st_lsm6dsx_write_event() desreferencia un puntero NULL al intentar escribir en el registro de activación.\nDefinir un array adicional de la estructura iio_chan_spec cuyos miembros tienen un campo event_spec NULL, y usar este array en lugar de st_lsm6dsx_acc_channels para sensores sin capacidad de detección de eventos.","source":"nvd"}],"published":"2026-02-04T16:07:33.154Z","modified":"2026-10-30T13:18:26.750Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b5969abfa8b8ed43ebd93479d394f664bd4a5a87","fixed":"33c683417232b9111e29458954529942137780a3","status":"affected"},{"type":"git","introduced":"b5969abfa8b8ed43ebd93479d394f664bd4a5a87","fixed":"7673167fac9323110973a3300637adba7d45de3a","status":"affected"},{"type":"git","introduced":"b5969abfa8b8ed43ebd93479d394f664bd4a5a87","fixed":"4d60ffcdedfe2cdb68a1cde19bb292bc67451629","status":"affected"},{"type":"git","introduced":"b5969abfa8b8ed43ebd93479d394f664bd4a5a87","fixed":"81ed6e42d6e555dd978c9dd5e3f7c20cb121221b","status":"affected"},{"type":"git","introduced":"b5969abfa8b8ed43ebd93479d394f664bd4a5a87","fixed":"c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.122","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.68","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.8","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/33c683417232b9111e29458954529942137780a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7673167fac9323110973a3300637adba7d45de3a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d60ffcdedfe2cdb68a1cde19bb292bc67451629","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81ed6e42d6e555dd978c9dd5e3f7c20cb121221b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71198","url":"https://www.cve.org/CVERecord?id=CVE-2025-71198","licence":"CVE Terms of Use","modified":"2026-10-30T12:23:32.365Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71198","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71198","licence":"Public domain","modified":"2026-10-30T13:18:26.750Z"}],"updatedAt":"2026-11-25T22:59:11.048Z","epss":{"score":0.00258,"percentile":0.10713,"date":"2026-11-30T12:00:22.000Z"}}