| Title | LinuxのLinux KernelにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、btrfs_ioctl_space_info() の slot_count TOCTOU レースコンディションによる情報漏洩の脆弱性が修正されました。btrfs_ioctl_space_info() には、ブロックグループの RAID タイプリストに対する2回のパス間で TOCTOU レースが存在します。最初のパスはエントリ数をカウントして割り当てサイズを決定し、2回目のパスでバッファを埋めます。両パスの間で groups_sem の rwlock が解放されるため、同時にブロックグループが削除されてエントリ数が減少する可能性があります。2回目のパスで最初のパスより少ないエントリ数しか埋められなかった場合、copy_to_user() は未初期化の kmalloc バイトを含む割り当てサイズ全体をユーザ空間にコピーしてしまいます。修正は、実際に埋められた2回目のパスでの total_spaces エントリ数だけをコピーし、コピーサイズの不一致によるヒープデータ漏洩を防ぐために kzalloc に切り替えたものです。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | May 28, 2026, midnight |
| Registration Date | June 10, 2026, 2:27 p.m. |
| Last Update | June 10, 2026, 2:27 p.m. |
| CVSS3.0 : 警告 | |
| Score | 4.7 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Linux |
| Linux Kernel 2.6.34 |
| Linux Kernel 2.6.34.1 以上 6.6.140 未満 |
| Linux Kernel 6.13 以上 6.18.32 未満 |
| Linux Kernel 6.19 以上 7.0.7 未満 |
| Linux Kernel 6.7 以上 6.12.90 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月10日] 掲載 |
June 10, 2026, 2:27 p.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: btrfs: fix btrfs_ioctl_space_info() slot_count TOCTOU which can lead to info-leak btrfs_ioctl_space_info() has a TOCTOU race between two passes over the When the second pass fills fewer entries than the first pass counted, Fix by copying only total_spaces entries (the actually-filled count from |
|---|---|
| Publication Date | May 28, 2026, 7:16 p.m. |
| Registration Date | May 29, 2026, 4:13 a.m. |
| Last Update | May 28, 2026, 10:44 p.m. |