# CVE-2025-37970: iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_fifo

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-05-20T16:47:17.256Z
- Modified: 2026-06-17T09:15:48.040Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_fifo

Prevent st_lsm6dsx_read_fifo from falling in an infinite loop in case
pattern_len is equal to zero and the device FIFO is not empty.

(As written by CVE List.)

## Affected

- Linux Linux: from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before f06a1a1954527cc4ed086d926c81ff236b2adde9; from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before 84e39f628a3a3333add99076e4d6c8b42b12d3a0; from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before f3cf233c946531a92fe651ff2bd15ebbe60630a7; from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before 6c4a5000618a8c44200d455c92e2f2a4db264717; from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before da33c4167b9cc1266a97215114cb74679f881d0c; from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before a1cad8a3bca41dead9980615d35efc7bff1fd534; from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before 3bb6c02d6fe8347ce1785016d135ff539c20043c; from 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 before 159ca7f18129834b6f4c7eae67de48e96c752fc9; 4.11 (not affected: before 4.11; from 5.4.294 up to 5.4.*; from 5.10.238 up to 5.10.*; from 5.15.183 up to 5.15.*; from 6.1.139 up to 6.1.*; from 6.6.91 up to 6.6.*; from 6.12.29 up to 6.12.*; from 6.14.7 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 4.11 before 5.4.294; from 5.5 before 5.10.238; from 5.11 before 5.15.183; from 5.16 before 6.1.139; from 6.2 before 6.6.91; from 6.7 before 6.12.29; from 6.13 before 6.14.7; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/f06a1a1954527cc4ed086d926c81ff236b2adde9> (patch)
- <https://git.kernel.org/stable/c/84e39f628a3a3333add99076e4d6c8b42b12d3a0> (patch)
- <https://git.kernel.org/stable/c/f3cf233c946531a92fe651ff2bd15ebbe60630a7> (patch)
- <https://git.kernel.org/stable/c/6c4a5000618a8c44200d455c92e2f2a4db264717> (patch)
- <https://git.kernel.org/stable/c/da33c4167b9cc1266a97215114cb74679f881d0c> (patch)
- <https://git.kernel.org/stable/c/a1cad8a3bca41dead9980615d35efc7bff1fd534> (patch)
- <https://git.kernel.org/stable/c/3bb6c02d6fe8347ce1785016d135ff539c20043c> (patch)
- <https://git.kernel.org/stable/c/159ca7f18129834b6f4c7eae67de48e96c752fc9> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-37970](https://www.cve.org/CVERecord?id=CVE-2025-37970), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37970](https://nvd.nist.gov/vuln/detail/CVE-2025-37970), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37970 · Whole record: https://cve.day/CVE-2025-37970.json · Rebuilt by cve.day 2026-11-25T22:58:58.314Z
