LinuxのLinux Kernelにおける配列インデックスの検証に関する脆弱性
タイトル LinuxのLinux Kernelにおける配列インデックスの検証に関する脆弱性
概要

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

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

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

公表日 2026年5月1日0:00
登録日 2026年5月11日11:11
最終更新日 2026年5月11日11:11
CVSS3.0 : 重要
スコア 7.8
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
Linux
Linux Kernel 6.19 以上 6.19.12 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年05月11日]
  掲載
2026年5月11日11:11

NVD脆弱性情報
CVE-2026-31764
概要

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.

公表日 2026年5月2日0:16
登録日 2026年5月2日4:07
最終更新日 2026年5月9日3:04
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
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:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧