Katalog CVE

CVE-2026-31764

Wysokie
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze systemu Linux zidentyfikowano podatność, która pozwala na dostęp poza granice tablicy odr_table w funkcji st_lsm6dsx_hwfifo_odr_store(). Problem ten występuje, gdy użytkownik próbuje ustawić częstotliwość próbkowania bufora dla czujników innych niż akcelerometr lub żyroskop.

Ocena ryzyka

Dostęp poza granice tablicy może prowadzić do nieprzewidzianego zachowania systemu, co stwarza ryzyko awarii lub wykorzystania podatności przez złośliwe oprogramowanie.

Rekomendacja

Zaleca się, aby nie tworzyć atrybutu częstotliwości próbkowania bufora dla typów czujników innych niż akcelerometr, aby uniknąć potencjalnych problemów z bezpieczeństwem.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS