| タイトル | LinuxのLinux Kernelにおける不特定の脆弱性 |
|---|---|
| 概要 | Linuxカーネルにおいて、以下の脆弱性が修正されました。ext2のext2_iget()関数で、i_nlinkが0でかつ有効なモードを持つinodeを拒否するようになりました。ext2_iget()は既に、i_modeが0またはi_dtimeが設定されている場合にi_nlinkが0のinodeを削除済みとして拒否していました。しかし、i_nlinkが0で非ゼロのモードかつdtimeが0の場合は見逃されていました。ext2は孤児リストを持たないため、この組み合わせはファイルシステムの破損を引き起こすと考えられています。正当なinodeの削除は、必ずinodeの解放前にi_dtimeを設定するかi_modeをクリアします。悪意あるイメージがこの隙を突いてVFSにそのようなinodeを提示すると、ext2_unlink()、ext2_rename()、ext2_rmdir()経由でdrop_nlink()内のWARN_ONが発生します。既存のi_nlinkが0のチェックを拡張し、このケースも検出してext2_error()を通じて破損を報告し、-EFSCORRUPTEDを返すようにしました。これによりロード時にinodeが拒否され、namei.c内のパスに到達するのを防ぎます。この問題はLinux Verification Center(linuxtesting.org)のSyzkallerによって発見されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月27日0:00 |
| 登録日 | 2026年6月17日15:42 |
| 最終更新日 | 2026年6月17日15:42 |
| CVSS3.0 : 警告 | |
| スコア | 5.5 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Linux |
| Linux Kernel 2.6.12 |
| Linux Kernel 2.6.12.1 以上 5.10.258 未満 |
| Linux Kernel 5.11 以上 5.15.209 未満 |
| Linux Kernel 5.16 以上 6.1.175 未満 |
| Linux Kernel 6.13 以上 6.18.27 未満 |
| Linux Kernel 6.19 以上 7.0.4 未満 |
| Linux Kernel 6.2 以上 6.6.140 未満 |
| Linux Kernel 6.7 以上 6.12.86 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月17日] 掲載 |
2026年6月17日15:42 |
| 概要 | In the Linux kernel, the following vulnerability has been resolved: ext2: reject inodes with zero i_nlink and valid mode in ext2_iget() ext2_iget() already rejects inodes with i_nlink == 0 when i_mode is A crafted image can exploit this gap to present such an inode to the WARNING: CPU: 3 PID: 609 at fs/inode.c:336 drop_nlink+0xad/0xd0 fs/inode.c:336 WARNING: CPU: 0 PID: 646 at fs/inode.c:336 drop_nlink+0xad/0xd0 fs/inode.c:336 WARNING: CPU: 0 PID: 634 at fs/inode.c:336 drop_nlink+0xad/0xd0 fs/inode.c:336 Extend the existing i_nlink == 0 check to also catch this case, Found by Linux Verification Center (linuxtesting.org) with Syzkaller. |
|---|---|
| 公表日 | 2026年5月27日23:17 |
| 登録日 | 2026年5月28日4:12 |
| 最終更新日 | 2026年6月2日2:17 |