Out-of-bounds read in Linux kernel - CVE-2026-31764

 

Out-of-bounds read in Linux kernel - CVE-2026-31764

Published: May 2, 2026


Vulnerability identifier: #VU128931
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31764
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to an out-of-bounds read in the st_lsm6dsx_hwfifo_odr_store() function when processing writes to the buffer sampling frequency sysfs attribute. A local user can write a crafted value to the sysfs attribute for a non-accelerometer and non-gyroscope sensor type to cause a denial of service.

The issue is triggered because the odr_table array is accessed using sensor->id even though the table contains only two entries.


How to mitigate CVE-2026-31764

Install security update from vendor's repository.

Sources