Linuxカーネルにおいて、以下の脆弱性が修正されました。nilfs2のnilfs_segctor_thread()内にあるstruct nilfs_sc_infoの潜在的なUse-After-Free(UAF)問題を修正しました。nilfs_segctor_thread()の終了処理は、そのスレッドを終了させるnilfs_segctor_kill_thread()と競合し、KASANにより検出されたUse-After-Freeバグが発生する可能性があります。nilfs_segctor_thread()の終了時に、スレッドが終了したことを示すために、struct nilfs_sc_infoのメンバーである"sc_task"にNULLを代入し、その後waitqueueである"sc_wait_task"を使用してnilfs_segctor_kill_thread()に通知します。しかし、ここで"sc_task"にNULLを代入した直後にnilfs_segctor_kill_thread()がこれを検出し、解放処理を継続してnilfs_sc_info構造体をスレッドの通知前に解放してしまう可能性がありました。この問題は、struct nilfs_sc_infoのスピンロック"sc_state_lock"を使用して、"sc_task"へのNULL代入と通知処理を保護することで修正されました。nilfs_segctor_kill_thread()は"sc_state_lock"がロックされた状態で"sc_task"がNULLかどうかの最終チェックを行うため、このレースコンディションを排除できます。
Linux Linux Kernel 2.6.30 以上 4.14.313 未満 Linux Kernel 4.15 以上 4.19.281 未満 Linux Kernel 4.20 以上 5.4.241 未満 Linux Kernel 5.11 以上 5.15.107 未満 Linux Kernel 5.16 以上 6.1.24 未満 Linux Kernel 5.5 以上 5.10.178 未満 Linux Kernel 6.2 以上 6.2.11 未満 Linux Kernel 6.3
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
解放済みメモリの使用(CWE-416) [NVD評価]
CVE-2023-53608
National Vulnerability Database (NVD) : CVE-2023-53608 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/f32297dba338dc06d62286dedb3cdbd5175b1719) 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/0dbf0e64b91ee8fcb278aea93eb06fc7d56ecbcc) 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/92684e02654c91a61a0b0561433b710bcece19fe) 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/613bf23c070d11c525268f2945aa594704a9b764) 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/6be49d100c22ffea3287a4b19d7639d259888e33) 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/034cce77d52ba013ce62b4f5258c29907eb1ada5) 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/b4d80bd6370b81a1725b6b8f7894802c23a14e9f) 関連文書 : nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/bae009a2f1b7c2011d2e92d8c84868d315c0b97e)
[2026年02月10日] 掲載