製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける境界外読み取りに関する脆弱性
Title LinuxのLinux Kernelにおける境界外読み取りに関する脆弱性
Summary

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に設定します。

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

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

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

NVD Vulnerability Information
CVE-2025-71306
Summary

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.

Publication Date May 27, 2026, 11:16 p.m.
Registration Date May 28, 2026, 4:10 a.m.
Last Update May 27, 2026, 11:48 p.m.
Related information, measures and tools
Common Vulnerabilities List