Out-of-bounds read in Linux kernel - CVE-2026-31764
Published: May 2, 2026
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.