製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおけるリソースのロックに関する脆弱性
Title LinuxのLinux Kernelにおけるリソースのロックに関する脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。erofsでは、必要に応じてbio完了処理にGFP_NOIOを追加しました。プロセスコンテキスト(例: dm-verity)でのbio完了パスでは、別のワークキューコンテキストを起動するのではなく、直接データの展開処理を呼び出します。これはスケジューリング遅延を最小限に抑えるためです。しかし、その結果としてGFP_KERNELを使ってvm_map_ram()を呼び出すことがあります。メモリ不足によりvm_map_ram()はメモリスワップI/Oを発生させる可能性があり、そのためsubmit_bio_waitが特定のシナリオでデッドロックを引き起こす場合があります。呼び出しスタックを簡略化すると以下の通りです。f2fs_submit_read_io → submit_bio(bio_list初期化済み)→ mmc_blk_mq_recovery → z_erofs_endio → vm_map_ram → __pte_alloc_kernel → __alloc_pages_direct_reclaim → shrink_folio_list → __swap_writepage → submit_bio_wait(bio_list非NULLのためハング)。このパスをmemalloc_noio_{save,restore}()で囲うことで問題を解決しました。

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

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

Publication Date April 22, 2026, midnight
Registration Date May 11, 2026, 11 a.m.
Last Update May 11, 2026, 11 a.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected System
Linux
Linux Kernel 5.13 以上 5.15.203 未満
Linux Kernel 5.16 以上 6.1.168 未満
Linux Kernel 6.13 以上 6.18.21 未満
Linux Kernel 6.19 以上 6.19.11 未満
Linux Kernel 6.2 以上 6.6.131 未満
Linux Kernel 6.7 以上 6.12.80 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年05月11日]
  掲載
May 11, 2026, 11 a.m.

NVD Vulnerability Information
CVE-2026-31467
Summary

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

erofs: add GFP_NOIO in the bio completion if needed

The bio completion path in the process context (e.g. dm-verity)
will directly call into decompression rather than trigger another
workqueue context for minimal scheduling latencies, which can
then call vm_map_ram() with GFP_KERNEL.

Due to insufficient memory, vm_map_ram() may generate memory
swapping I/O, which can cause submit_bio_wait to deadlock
in some scenarios.

Trimmed down the call stack, as follows:

f2fs_submit_read_io
submit_bio //bio_list is initialized.
mmc_blk_mq_recovery
z_erofs_endio
vm_map_ram
__pte_alloc_kernel
__alloc_pages_direct_reclaim
shrink_folio_list
__swap_writepage
submit_bio_wait //bio_list is non-NULL, hang!!!

Use memalloc_noio_{save,restore}() to wrap up this path.

Publication Date April 22, 2026, 11:16 p.m.
Registration Date April 25, 2026, 4:05 a.m.
Last Update April 27, 2026, 11:16 p.m.
Related information, measures and tools
Common Vulnerabilities List