Debian等の複数ベンダの製品における境界外読み取りに関する脆弱性
タイトル Debian等の複数ベンダの製品における境界外読み取りに関する脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました:blk-iocostでの範囲外シフトを回避する問題です。UBSANはblk-iocostにおける未定義動作を検出しました。これは、iocg-delayが時折大きすぎる値で右シフトされ、いくつかのアーキテクチャで未定義動作を引き起こしていたためです。[ 186.556576] ------------[ cut here ]------------ UBSAN: block/blk-iocost.c:1366:23でのシフト範囲外。shift指数64は64ビット型'u64'(別名'unsigned long long')には大きすぎます。CPU: 16 PID: 0 Comm: swapper/16 Tainted: G S E N 6.9.0-0_fbk700_debug_rc2_kbuilder_0_gc85af715cac0 #1 ハードウェア名: Quanta Twin Lakes MP/Twin Lakes Passive MP, BIOS F09_3A23 2020/12/08 Call Trace: IRQ dump_stack_lvl+0x8f/0xe0 __ubsan_handle_shift_out_of_bounds+0x22c/0x280 iocg_kick_delay+0x30b/0x310 ioc_timer_fn+0x2fb/0x1f80 __run_timer_base+0x1b6/0x250 ... シフトが大きすぎる場合は単純に"delay = 0"の分岐を取ることで未定義動作を回避しています。未定義の値となったdelayが引き起こす症状は不明ですが、デバッグにおいてかなり厄介な問題を引き起こす可能性があると考えています。

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

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2024年5月30日0:00
登録日 2026年1月27日17:38
最終更新日 2026年1月27日17:38
CVSS3.0 : 重要
スコア 7.1
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
影響を受けるシステム
Debian
Debian GNU/Linux 10.0
Linux
Linux Kernel 5.10 以上 5.10.217 未満
Linux Kernel 5.11 以上 5.15.159 未満
Linux Kernel 5.16 以上 6.1.91 未満
Linux Kernel 6.2 以上 6.6.31 未満
Linux Kernel 6.7 以上 6.8.10 未満
Linux Kernel 6.9
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年01月27日]
  掲載
2026年1月27日17:38

NVD脆弱性情報
CVE-2024-36916
概要

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

blk-iocost: avoid out of bounds shift

UBSAN catches undefined behavior in blk-iocost, where sometimes
iocg->delay is shifted right by a number that is too large,
resulting in undefined behavior on some architectures.

[ 186.556576] ------------[ cut here ]------------
UBSAN: shift-out-of-bounds in block/blk-iocost.c:1366:23
shift exponent 64 is too large for 64-bit type 'u64' (aka 'unsigned long long')
CPU: 16 PID: 0 Comm: swapper/16 Tainted: G S E N 6.9.0-0_fbk700_debug_rc2_kbuilder_0_gc85af715cac0 #1
Hardware name: Quanta Twin Lakes MP/Twin Lakes Passive MP, BIOS F09_3A23 12/08/2020
Call Trace:
<IRQ>
dump_stack_lvl+0x8f/0xe0
__ubsan_handle_shift_out_of_bounds+0x22c/0x280
iocg_kick_delay+0x30b/0x310
ioc_timer_fn+0x2fb/0x1f80
__run_timer_base+0x1b6/0x250
...

Avoid that undefined behavior by simply taking the
"delay = 0" branch if the shift is too large.

I am not sure what the symptoms of an undefined value
delay will be, but I suspect it could be more than a
little annoying to debug.

公表日 2024年5月31日1:15
登録日 2024年5月31日10:00
最終更新日 2024年11月21日18:22
関連情報、対策とツール
共通脆弱性一覧