Linuxカーネルにおいて、以下の脆弱性が修正されました。nilfs2のnilfs_mdt_save_to_shadow_map関数内でのNULLなi_assoc_inode参照の問題です。DAT inodeのbtreeノードキャッシュ(i_assoc_inode)はbtree操作中に遅延初期化されます。しかし、nilfs_mdt_save_to_shadow_map()関数はGC中に汚れたページをシャドウマップにコピーする際、i_assoc_inodeがすでに初期化されていることを前提としています。もしNILFS_IOCTL_CLEAN_SEGMENTSがマウント直後にDAT inodeでbtree操作が行われる前に呼び出された場合、i_assoc_inodeはNULLとなり、一般保護例外が発生します。この問題は、マウント時にnilfs_dat_read()関数でDAT inodeに対してnilfs_attach_btree_node_cache()関数を呼び出すことで修正されており、GC操作が利用する前に必ずi_assoc_inodeが初期化されることを保証しています。
Linux Linux Kernel 6.6.136 未満 Linux Kernel 6.13 以上 6.18.24 未満 Linux Kernel 6.19 以上 6.19.14 未満 Linux Kernel 6.7 以上 6.12.83 未満 Linux Kernel 7.0 以上 7.0.1 未満
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
NULL ポインタデリファレンス(CWE-476) [NVD評価]
CVE-2026-31577
National Vulnerability Database (NVD) : CVE-2026-31577 関連文書 : nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363) 関連文書 : nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084) 関連文書 : nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48) 関連文書 : nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8) 関連文書 : nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1) 関連文書 : nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e)
[2026年04月30日] 掲載