| Title | LinuxのLinux Kernelにおける不特定の脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、以下の脆弱性が修正されました。btrfsにおいて、ディレクトリ削除時にlast_unlink_transの更新漏れを修正しました。ディレクトリを削除する際、そのlast_unlink_transフィールドが更新されていなかったため、ディレクトリ削除後にそのディレクトリのファイル記述子を保持している誰かがfsyncを行うと、誤ったfsync動作を引き起こす可能性がありました。例として、以下のシナリオがあります。mkdir /mnt/dir1mkdir /mnt/dir1/dir2mkdir /mnt/dir3sync -f /mnt# ディレクトリに変更を加え、fsyncを実行chmod 700 /mnt/dir1xfs_io -c fsync /mnt/dir1# dir2をdir1からdir3に移動し、dir1を空にするmv /mnt/dir1/dir2 /mnt/dir3/dir1にてopenファイル記述子を開き、rmdir(2)を呼び出し、fsyncを行いました。電源障害発生ファイルシステムをマウントしようとすると、ログリプレイが-EIOエラーで失敗し、dmesg/syslogに以下のような出力が記録されます。BTRFSは不整合状態となり、ディレクトリのリンク数が期待値を超えていたため、ファイルシステムの整合性が損なわれる問題が発生していました。この問題はlast_unlink_transの更新漏れによるもので、今回の修正により、ディレクトリ削除時に正しく更新されるようになりました。 |
| 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 | 5.5 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Linux |
| Linux Kernel 2.6.30 以上 6.6.141 未満 |
| Linux Kernel 6.13 以上 6.18.30 未満 |
| Linux Kernel 6.19 以上 7.0.7 未満 |
| Linux Kernel 6.7 以上 6.12.91 未満 |
| Linux Kernel 7.1 |
| 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 missing last_unlink_trans update when removing a directory When removing a directory we are not updating its last_unlink_trans field, Example scenario: mkdir /mnt/dir1 sync -f /mnt # Do some change to the directory and fsync it. # Move dir2 out of dir1 so that dir1 becomes empty. open fd on /mnt/dir1 <trigger power failure> When attempting to mount the filesystem, the log replay will fail with [445771.626482] BTRFS info (device dm-0): first mount of filesystem 0368bbea-6c5e-44b5-b409-09abe496e650 |
|---|---|
| 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. |