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

Medium 5.5 Published Updated

A local attacker can cause a system lockup in the Linux kernel's ST LSM6DSX IMU driver by triggering an infinite loop when the pattern length is zero.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37970?

CVE-2025-37970 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 20 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-667

Which versions are affected by CVE-2025-37970?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-37970?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-37970 being exploited?

There is no known exploitation of CVE-2025-37970 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-37970, DEBIAN-CVE-2025-37970, GHSA-7xj4-qj2w-mpf9, ROOT-OS-DEBIAN-11-CVE-2025-37970, ROOT-OS-DEBIAN-12-CVE-2025-37970, ROOT-OS-UBUNTU-2204-CVE-2025-37970 and 2 more.

Is CVE-2025-37970 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free