Linuxカーネルにおいて、以下の脆弱性が修正されました。ksmbdのコンパウンドリクエスト内でのshare_confのuse-after-freeを修正しました。smb2_get_ksmbd_tcon()はコンパウンドリクエストでwork-tconをtcon-t_stateを検証せずに再利用していました。ksmbd_tree_conn_lookup()は初回のルックアップパスでt_stateがTREE_CONNECTEDかをチェックしますが、コンパウンド再利用パスはこのチェックを完全にバイパスしていました。コンパウンド内の前のコマンド(SMB2_TREE_DISCONNECT)がt_stateをTREE_DISCONNECTEDに設定し、ksmbd_share_config_put()でshare_confを解放すると、後続のコマンドがwork-tcon-share_confを通じて解放済みのshare_confを参照してしまいます。KASANレポートでは、smb2_write関数内でスラブの使用後解放(use-after-free)が検出されており、具体的なコールトレースとメモリアロケーションおよび解放の詳細が報告されています。この問題によってメモリの無効なアクセスが発生する恐れがあり、ksmbdのコンパウンドリクエスト処理の安全性を向上させる修正が含まれています。
Linux Linux Kernel 5.15.121 以上 5.15.203 未満 Linux Kernel 6.1.36 以上 6.1.167 未満 Linux Kernel 6.13 以上 6.18.20 未満 Linux Kernel 6.19 以上 6.19.10 未満 Linux Kernel 6.3.10 以上 6.4 未満 Linux Kernel 6.4.1 以上 6.6.130 未満 Linux Kernel 6.7 以上 6.12.78 未満 Linux Kernel 6.4 Linux Kernel 7.0
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
解放済みメモリの使用(CWE-416) [NVD評価]
CVE-2026-23428
National Vulnerability Database (NVD) : CVE-2026-23428 関連文書 : ksmbd: fix use-after-free of share_conf in compound request - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/806f13752652216db0c309392b4db3e64eeed4f2) 関連文書 : ksmbd: fix use-after-free of share_conf in compound request - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c742b46a153d3ff95ff0825ab1950c87b9e14470) 関連文書 : ksmbd: fix use-after-free of share_conf in compound request - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/a5929c2020ce54e1dcbd1078c0f30b8aaf73c105) 関連文書 : ksmbd: fix use-after-free of share_conf in compound request - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c33615f995aee80657b9fdfbc4ee7f49c2bd733d) 関連文書 : ksmbd: fix use-after-free of share_conf in compound request - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/7f7468fd2a7554cea91b7d430335a3dbf01dcc09) 関連文書 : ksmbd: fix use-after-free of share_conf in compound request - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/d08417981155883068b7260d9500ca306a03edac) 関連文書 : ksmbd: fix use-after-free of share_conf in compound request - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/eae0dc86f71e6f3294c0cd7ffc05039258d243af)
[2026年04月27日] 掲載