製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける配列インデックスの検証に関する脆弱性
Title LinuxのLinux Kernelにおける配列インデックスの検証に関する脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。iio: imu: st_lsm6dsxに関し、加速度計のみのバッファサンプリング周波数を設定するst_lsm6dsx_hwfifo_odr_store()関数は、ユーザースペースからバッファサンプリング周波数のsysfs属性が書き込まれた際に呼び出され、st_lsm6dsx_check_odr()を呼び出します。この関数はsensor-idをインデックスとしたodr_table配列にアクセスしますが、この配列は2つのエントリしかありません。そのため、加速度計またはジャイロスコープ以外のセンサータイプの場合、範囲外アクセスが発生していました。バッファ周波数をセンサーのサンプリング周波数と異なる値に設定可能にする動機は、高いサンプリング周波数が必要な正確なイベント検出をサポートしつつ、低周波数でセンサーデータを取得するユースケースを実現することにあります。サポートされるすべてのイベントタイプは加速度データから生成されるため、加速度計以外のセンサータイプに対してバッファサンプリング周波数属性を作成しないように修正しました。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date May 1, 2026, midnight
Registration Date May 11, 2026, 11:11 a.m.
Last Update May 11, 2026, 11:11 a.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected System
Linux
Linux Kernel 6.19 以上 6.19.12 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年05月11日]
  掲載
May 11, 2026, 11:11 a.m.

NVD Vulnerability Information
CVE-2026-31764
Summary

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.

Publication Date May 2, 2026, 12:16 a.m.
Registration Date May 2, 2026, 4:07 a.m.
Last Update May 9, 2026, 3:04 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 6.19.12
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List