CVE-2025-37970Published May 20, 2025 · May 20Updated Oct 28
iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_fifo
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 · < a1cad8a3bca41dead9980615d35efc7bff1fd534| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s st_lsm6dsx_read_fifo function can enter an infinite loop if pattern_len is zero while the device FIFO is not empty. This can cause a lockup; the input does not specify how an attacker could trigger it or whether authentication, network access, or user interaction is required.
Engineers running Linux kernels with the st_lsm6dsx driver should check their versions; affected versions are not specified.