# CVE-2025-71198: iio: imu: st\_lsm6dsx: fix iio\_chan\_spec for sensors without event detection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2026-02-04T16:07:33.154Z
- **Modified:** 2026-10-30T13:18:26.750Z

## Who should check

- Anyone running Linux \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 33c683417232b9111e29458954529942137780a3; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 7673167fac9323110973a3300637adba7d45de3a; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 4d60ffcdedfe2cdb68a1cde19bb292bc67451629; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3
- Anyone running Linux 5.5

## 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.

## Affected and fixed versions

- Linux: \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 33c683417232b9111e29458954529942137780a3; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 7673167fac9323110973a3300637adba7d45de3a; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 4d60ffcdedfe2cdb68a1cde19bb292bc67451629; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71198. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71198.md
Affected: Linux >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, < 33c683417232b9111e29458954529942137780a3; >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, < 7673167fac9323110973a3300637adba7d45de3a; >= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, < 4d60ffcdedfe2cdb68a1cde19bb292bc67451629; >= b5969abfa8b8ed43ebd9347…
Fixed in: Linux 33c683417232b9111e29458954529942137780a3, Linux 7673167fac9323110973a3300637adba7d45de3a, Linux 4d60ffcdedfe2cdb68a1cde19bb292bc67451629, Linux 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71198 being exploited?

There is no confirmed exploitation: CVE-2025-71198 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-71198?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-71198?

Linux \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 33c683417232b9111e29458954529942137780a3; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 7673167fac9323110973a3300637adba7d45de3a; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 4d60ffcdedfe2cdb68a1cde19bb292bc67451629; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b; \>= b5969abfa8b8ed43ebd93479d394f664bd4a5a87, \< c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3; Linux 5.5.

### Is there a fix for CVE-2025-71198?

Yes. Fixed in Linux 33c683417232b9111e29458954529942137780a3, Linux 7673167fac9323110973a3300637adba7d45de3a, Linux 4d60ffcdedfe2cdb68a1cde19bb292bc67451629, Linux 81ed6e42d6e555dd978c9dd5e3f7c20cb121221b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-71198?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/33c683417232b9111e29458954529942137780a3>
- other: <https://git.kernel.org/stable/c/7673167fac9323110973a3300637adba7d45de3a>
- other: <https://git.kernel.org/stable/c/4d60ffcdedfe2cdb68a1cde19bb292bc67451629>
- other: <https://git.kernel.org/stable/c/81ed6e42d6e555dd978c9dd5e3f7c20cb121221b>
- other: <https://git.kernel.org/stable/c/c34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71198>

HTML: <https://flawdb.com/CVE-2025-71198> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71198>
