LinuxのLinux Kernelにおける境界外読み取りに関する脆弱性
タイトル LinuxのLinux Kernelにおける境界外読み取りに関する脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました。ima: is_bprm_creds_for_exec()内のスタック境界外アクセスの修正です。KASANはis_bprm_creds_for_execからima_appraise_measurementにおけるスタック境界外アクセスを報告しました。具体的には、BUG: KASAN: ima_appraise_measurement+0x12dc/0x16a0でサイズ1のスタック境界外アクセス読み取りがアドレスffffc9000160f940でタスクsudo/550によって実行されました。問題のあるアドレスはタスクsudo/550のスタックに属し、次のフレームのオフセット24に存在します:ima_appraise_measurement+0x0/0x16a0。このフレームには2つのオブジェクトがあります。[48, 56) 'file'と[80, 148) 'hash'です。これは*fileポインタに対してcontainer_ofを使用したことが原因で、このオフセット計算がスタック境界外エラーを引き起こしました。この問題を修正するために、process_measurementの呼び出し方法に応じて設定可能なbprm_is_checkというブール値を渡すようにしました。呼び出し元がlinux_binprmポインタを持ち、関数がBPRM_CHECKの場合はis_checkを判断して設定します。それ以外の場合はfalseに設定します。

想定される影響 ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
対策

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

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

NVD脆弱性情報
CVE-2025-71306
概要

In the Linux kernel, the following vulnerability has been resolved:

ima: Fix stack-out-of-bounds in is_bprm_creds_for_exec()

KASAN reported a stack-out-of-bounds access in ima_appraise_measurement
from is_bprm_creds_for_exec:

BUG: KASAN: stack-out-of-bounds in ima_appraise_measurement+0x12dc/0x16a0
Read of size 1 at addr ffffc9000160f940 by task sudo/550
The buggy address belongs to stack of task sudo/550
and is located at offset 24 in frame:
ima_appraise_measurement+0x0/0x16a0
This frame has 2 objects:
[48, 56) 'file'
[80, 148) 'hash'

This is caused by using container_of on the *file pointer. This offset
calculation is what triggers the stack-out-of-bounds error.

In order to fix this, pass in a bprm_is_check boolean which can be set
depending on how process_measurement is called. If the caller has a
linux_binprm pointer and the function is BPRM_CHECK we can determine
is_check and set it then. Otherwise set it to false.

公表日 2026年5月27日23:16
登録日 2026年5月28日4:10
最終更新日 2026年5月27日23:48
関連情報、対策とツール
共通脆弱性一覧