CVE-2025-71198 json
iio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection
published 2026-02-04 9 mo ago modified 2026-10-30 9 d ago also EUVD-2025-206799
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.191, 6.6.122, 6.12.68, 6.18.8, 6.19
- linux Debian 13 6.12.69-1
- linux Debian 14 6.18.8-1
debian advisories DEBIAN-CVE-2025-71198
- linux Ubuntu 24.04 LTS 6.8.0-117.117
- linux-aws Ubuntu 24.04 LTS 6.8.0-1055.58
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1058.61
- linux-gke Ubuntu 24.04 LTS 6.8.0-1054.60
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1055.56
- linux-azure Ubuntu 24.04 LTS 6.8.0-1056.62
- linux-gkeop Ubuntu 24.04 LTS 6.8.0-1041.44
- linux-raspi Ubuntu 24.04 LTS 6.8.0-1056.60
ubuntu advisories UBUNTU-CVE-2025-71198
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.34.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.34.1
- kernel-source SLE Module for Development Tools 15 SP7, SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1
- kernel-default SLE Workstation Extension 15 SP7, SLE Module for Legacy 15 SP7, SLE Module for Basesystem 15 SP7 +2 more 6.4.0-150700.53.34.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1
- kernel-obs-build SLE Module for Development Tools 15 SP7 6.4.0-150700.53.34.1
- kernel-default-base SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1.150700.17.23.1
suse advisories SUSE-SU-2026:1081-1SUSE-SU-2026:20873-1SUSE-SU-2026:20838-1SUSE-SU-2026:20931-1SUSE-SU-2026:20845-1SUSE-SU-2026:20876-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.27.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.27.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.27.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.27.1
- kernel-azure openSUSE Leap 16.0 6.12.0-160000.27.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.27.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.27.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.27.1
opensuse advisories openSUSE-SU-2026:20416-1
- git.kernel.org/stable/c/33c683417232b9111e29458954529942137780a3 commit
- git.kernel.org/stable/c/7673167fac9323110973a3300637adba7d45de3a commit
- git.kernel.org/stable/c/4d60ffcdedfe2cdb68a1cde19bb292bc67451629 commit
- git.kernel.org/stable/c/81ed6e42d6e555dd978c9dd5e3f7c20cb121221b commit
- git.kernel.org/stable/c/c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-71198 updated
kernel: iio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/33c683417232b9111e29458954529942137780a3
- git.kernel.org /stable/c/7673167fac9323110973a3300637adba7d45de3a
- git.kernel.org /stable/c/4d60ffcdedfe2cdb68a1cde19bb292bc67451629
- git.kernel.org /stable/c/81ed6e42d6e555dd978c9dd5e3f7c20cb121221b
- git.kernel.org /stable/c/c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3
Sources
- CVE List CVE-2025-71198
- NVD CVE-2025-71198
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.