← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel st_lsm6dsx IMU Driver Sets the Buffer Sampling Frequency for Devices Other Than the Accelerometer

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-31764

Key Details

CVECVE-2026-31764
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-11
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-129 (Improper Validation of Array Index)
Exploitation prediction (EPSS)
0.12% probability of exploitation in the next 30 days (2% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-31764
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-31764
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.