| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37969: iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_tagged_fifo |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_tagged_fifo |
| |
| Prevent st_lsm6dsx_read_tagged_fifo from falling in an infinite loop in |
| case pattern_len is equal to zero and the device FIFO is not empty. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37969 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 5.4.294 with commit 4db7d923a8c298788181b796f71adf6ca499f966 |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 5.10.238 with commit 76727a1d81afde77d21ea8feaeb12d34605be6f4 |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 5.15.183 with commit 35b8c0a284983b71d92d082c54b7eb655ed4194f |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.1.139 with commit 16857370b3a30663515956b3bd27f3def6a2cf06 |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.6.91 with commit 9ce662851380fe2018e36e15c0bdcb1ad177ed95 |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.12.29 with commit dadf9116108315f2eb14c7415c7805f392c476b4 |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.14.7 with commit 9ddb4cf2192c213e4dba1733bbcdc94cf6d85bf7 |
| Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.15 with commit 8114ef86e2058e2554111b793596f17bee23fa15 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2025-37969 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/4db7d923a8c298788181b796f71adf6ca499f966 |
| https://git.kernel.org/stable/c/76727a1d81afde77d21ea8feaeb12d34605be6f4 |
| https://git.kernel.org/stable/c/35b8c0a284983b71d92d082c54b7eb655ed4194f |
| https://git.kernel.org/stable/c/16857370b3a30663515956b3bd27f3def6a2cf06 |
| https://git.kernel.org/stable/c/9ce662851380fe2018e36e15c0bdcb1ad177ed95 |
| https://git.kernel.org/stable/c/dadf9116108315f2eb14c7415c7805f392c476b4 |
| https://git.kernel.org/stable/c/9ddb4cf2192c213e4dba1733bbcdc94cf6d85bf7 |
| https://git.kernel.org/stable/c/8114ef86e2058e2554111b793596f17bee23fa15 |