| タイトル | LinuxのLinux Kernelにおける境界外書き込みに関する脆弱性 |
|---|---|
| 概要 | Linuxカーネルにおいて、xfsのリーフブロックに拡張属性(xattrs)を追加する際のfreemap調整に関する問題が修正されました。この問題は、freemapエントリがエントリ配列と重複する不整合な状態を引き起こし、ASSERTが失敗することでファイルシステムがシャットダウンしてしまう原因となっていました。具体的には、freemapの調整が不十分であったため、エントリ配列と空き領域の境界が重なり、無効な状態が発生していました。修正では、すべてのfreemapエントリを適切に調整し、エントリ配列と重複しないようにすることで、この問題を解決しています。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月6日0:00 |
| 登録日 | 2026年5月15日10:59 |
| 最終更新日 | 2026年5月15日10:59 |
| CVSS3.0 : 重要 | |
| スコア | 8.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Linux |
| Linux Kernel 2.6.12 |
| Linux Kernel 2.6.12.1 以上 5.10.252 未満 |
| Linux Kernel 5.11 以上 5.15.202 未満 |
| Linux Kernel 5.16 以上 6.1.165 未満 |
| Linux Kernel 6.13 以上 6.18.16 未満 |
| Linux Kernel 6.19 以上 6.19.6 未満 |
| Linux Kernel 6.2 以上 6.6.128 未満 |
| Linux Kernel 6.7 以上 6.12.75 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月15日] 掲載 |
2026年5月15日10:59 |
| 概要 | In the Linux kernel, the following vulnerability has been resolved: xfs: fix freemap adjustments when adding xattrs to leaf blocks xfs/592 and xfs/794 both trip this assertion in the leaf block freemap ASSERT(ichdr->firstused >= ichdr->count * sizeof(xfs_attr_leaf_entry_t) Upon enabling quite a lot more debugging code, I narrowed this down to At the start of xfs_attr3_leaf_add_work, the freemap looks like this: i 0 base 448 size 0 rhs 448 count 46 where "rhs" is the first byte past the end of the leaf entry array. By the end of the function, the freemap is in worse shape: i 0 base 456 size 0 rhs 456 count 47 Important note: 388 is not aligned with the entries array element size Based on the incorrect freemap, the name area starts at byte 440, which How did we end up here? First, recall from the previous patch that the * 376 bytes in use by the entries array If we add one xattr, the entries array grows to 384 bytes, and The fix here is to adjust all freemap entries so that none of them |
|---|---|
| 公表日 | 2026年5月6日21:16 |
| 登録日 | 2026年5月7日4:08 |
| 最終更新日 | 2026年5月8日22:16 |