| 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-37970: iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_fifo |
| |
| 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. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37970 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 5.4.294 with commit f06a1a1954527cc4ed086d926c81ff236b2adde9 |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 5.10.238 with commit 84e39f628a3a3333add99076e4d6c8b42b12d3a0 |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 5.15.183 with commit f3cf233c946531a92fe651ff2bd15ebbe60630a7 |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 6.1.139 with commit 6c4a5000618a8c44200d455c92e2f2a4db264717 |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 6.6.91 with commit da33c4167b9cc1266a97215114cb74679f881d0c |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 6.12.29 with commit a1cad8a3bca41dead9980615d35efc7bff1fd534 |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 6.14.7 with commit 3bb6c02d6fe8347ce1785016d135ff539c20043c |
| Issue introduced in 4.11 with commit 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 and fixed in 6.15 with commit 159ca7f18129834b6f4c7eae67de48e96c752fc9 |
| |
| 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-37970 |
| 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/f06a1a1954527cc4ed086d926c81ff236b2adde9 |
| https://git.kernel.org/stable/c/84e39f628a3a3333add99076e4d6c8b42b12d3a0 |
| https://git.kernel.org/stable/c/f3cf233c946531a92fe651ff2bd15ebbe60630a7 |
| https://git.kernel.org/stable/c/6c4a5000618a8c44200d455c92e2f2a4db264717 |
| https://git.kernel.org/stable/c/da33c4167b9cc1266a97215114cb74679f881d0c |
| https://git.kernel.org/stable/c/a1cad8a3bca41dead9980615d35efc7bff1fd534 |
| https://git.kernel.org/stable/c/3bb6c02d6fe8347ce1785016d135ff539c20043c |
| https://git.kernel.org/stable/c/159ca7f18129834b6f4c7eae67de48e96c752fc9 |