本文へ移動
English version →
中 4.7

dm-integrity: fix infinite loop on discard with large tag size

CVE-2026-99135 SecPulse初出

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxLinux —
LinuxKernel
5.7.0 以上 5.10.273 未満→ 5.10.273
5.11.0 以上 5.15.224 未満→ 5.15.224
5.16.0 以上 6.1.191 未満→ 6.1.191
6.2.0 以上 6.6.161 未満→ 6.6.161
6.7.0 以上 6.12.115 未満→ 6.12.115
6.13.0 以上 6.18.59 未満→ 6.18.59
6.19.0 以上 7.2.13 未満→ 7.2.13

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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

dm-integrity: fix infinite loop on discard with large tag size

When integrity_metadata handles a discard, it fills a buffer with
DISCARD_FILLER and writes it over the tags, max_blocks blocks at a
time. If the kmalloc fails, the buffer is the on-stack array
checksums_onstack and max_size is set to HASH_MAX_DIGESTSIZE. So if the
tag size is larger than HASH_MAX_DIGESTSIZE, max_blocks is zero, bi_size
is never decremented and the loop never terminates.

Fix this by using sizeof(checksums_onstack) as max_size. The array has
MAX_TAG_SIZE bytes since commit b93b6643e9b5 ("dm integrity: fix a
crash with unusually large tag size"), so max_blocks is at least 1.

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく