Linuxカーネルにおいて、ftraceのフィルタファイルを読み取る際にハッシュの割り当てとコピーが行われるように修正されました。これまでリーダーはグローバルトレーサーハッシュへのポインタをイテレーターに追加していましたが、ライターとは異なりハッシュのコピーを割り当てていませんでした。そのため、ロック解除などでグローバルトレーサーハッシュが更新された際に、ポインタが静的に存在し続け、Use-After-Freeバグが発生する可能性がありました。この修正により、読み取り時もハッシュの割り当てとコピーを行うことで、バグが解消され、コードも簡素化されます。
Debian Debian GNU/Linux 11.0 Linux Linux Kernel 4.12 以上 5.4.297 未満 Linux Kernel 5.11 以上 5.15.190 未満 Linux Kernel 5.16 以上 6.1.149 未満 Linux Kernel 5.5 以上 5.10.241 未満 Linux Kernel 6.13 以上 6.16.4 未満 Linux Kernel 6.2 以上 6.6.103 未満 Linux Kernel 6.7 以上 6.12.44 未満 Linux Kernel 6.17
本脆弱性の影響を受ける製品の詳細については、ベンダ情報および参考情報をご確認ください。
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。
Debian Debian Mailing Lists : [SECURITY] [DLA 4327-1] linux security update Debian Mailing Lists : [SECURITY] [DLA 4328-1] linux-6.1 security update
解放済みメモリの使用(CWE-416) [NVD評価]
CVE-2025-39689
National Vulnerability Database (NVD) : CVE-2025-39689 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/e0b6b223167e1edde5c82edf38e393c06eda1f13) 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/3b114a3282ab1a12cb4618a8f45db5d7185e784a) 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/bfb336cf97df7b37b2b2edec0f69773e06d11955) 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/64db338140d2bad99a0a8c6a118dd60b3e1fb8cb) 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/a40c69f4f1ed96acbcd62e9b5ff3a596f0a91309) 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/12064e1880fc9202be75ff668205b1703d92f74f) 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c4cd93811e038d19f961985735ef7bb128078dfb) 関連文書 : ftrace: Also allocate and copy hash for reading of filter files - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c591ba1acd081d4980713e47869dd1cc3d963d19)
[2026年01月13日] 掲載