製品・ソフトウェアに関する情報
LinuxのLinux KernelにおけるNULL ポインタデリファレンスに関する脆弱性
Title LinuxのLinux KernelにおけるNULL ポインタデリファレンスに関する脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。netfs: netfs_limit_iter()関数のITER_KVECイテレータに対するカーネルBUGの修正です。プロセスがクラッシュしてカーネルが9Pファイルシステムにコアダンプを書き込む際、__kernel_write()はITER_KVECイテレータを作成します。このイテレータはnetfs_unbuffered_write()を介してnetfs_limit_iter()に到達しますが、同関数はITER_FOLIOQ、ITER_BVEC、ITER_XARRAYのイテレータタイプのみを処理し、その他のタイプの場合にBUG()を発生させます。この問題は、kvecとbvecがいずれもポインタと長さのフィールドを持つ単純なセグメント配列であることに基づき、netfs_limit_bvec()と同様のパターンでnetfs_limit_kvec()を追加し、イテレータタイプがITER_KVECのときにnetfs_limit_iter()からディスパッチすることで修正しました。

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

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

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

NVD Vulnerability Information
CVE-2026-31438
Summary

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

netfs: Fix kernel BUG in netfs_limit_iter() for ITER_KVEC iterators

When a process crashes and the kernel writes a core dump to a 9P
filesystem, __kernel_write() creates an ITER_KVEC iterator. This
iterator reaches netfs_limit_iter() via netfs_unbuffered_write(), which
only handles ITER_FOLIOQ, ITER_BVEC and ITER_XARRAY iterator types,
hitting the BUG() for any other type.

Fix this by adding netfs_limit_kvec() following the same pattern as
netfs_limit_bvec(), since both kvec and bvec are simple segment arrays
with pointer and length fields. Dispatch it from netfs_limit_iter() when
the iterator type is ITER_KVEC.

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