CVE-2026-31764

published 1 May 2026 · updated 13 Nov 2026

iio: imu: st_lsm6dsx: Set buffer sampling frequency for accelerometer only

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 679c04c10d65d32a3f269e696b22912ff0a001b9, Kernel 6.19.12 and Kernel 3225a81e8d264442b14c7c1bc965ebafa3c0ee01.

In the Linux kernel, the following vulnerability has been resolved: iio: imu: st_lsm6dsx: Set buffer sampling frequency for accelerometer only The st_lsm6dsx_hwfifo_odr_store() function, which is called when userspace writes the buffer sampling frequency sysfs attribute, calls st_lsm6dsx_check_odr(), which accesses the odr_table array at index `sensor->id`; since this array is only 2 entries long, an access for any sensor type other than accelerometer or gyroscope is an out-of-bounds access. The motivation for being able to set a buffer frequency different from the sensor sampling frequency is to support use cases that need accurate event detection (which requires a high sampling frequency) while retrieving sensor data at low frequency. Since all the supported event types are generated from acceleration data only, do not create the buffer sampling frequency attribute for sensor types other than the accelerometer.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6b648a36c200dfd3e776e657a4c8a8ce63fb52d3 <679c04c10d65d32a3f269e696b22912ff0a001b9, =7.0, >=6.19 <6.19.12, =6.19, >=6b648a36c200dfd3e776e657a4c8a8ce63fb52d3 <3225a81e8d264442b14c7c1bc965ebafa3c0ee01679c04c10d65d32a3f269e696b22912ff0a001b9, 6.19.12, 3225a81e8d264442b14c7c1bc965ebafa3c0ee01
linux-kernel: Kernel>=6.19.0 <6.19.126.19.12

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31764 severity on Zeptric[![CVE-2026-31764](https://zeptric.io/badge/cve/CVE-2026-31764.svg)](https://zeptric.io/cve/CVE-2026-31764)