Linux Kernelのksmbdに、複合リクエストでセッションが誤って引き継がれる脆弱性
概要
Linux KernelのksmbdでマルチチャネルのセッションバインドをともなうSESSION_SETUPリクエストを複合リクエストに含めると、失敗後も前のコマンドのセッションやツリー接続が使い回される問題があります。影響するのは7.1.5以降7.2未満と7.2.0以降7.3.2未満のKernelで、修正版は7.2以降と7.3.2です。CVSSは7.4です。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux KernelのksmbdでマルチチャネルのセッションバインドをともなうSESSION_SETUPリクエストを複合リクエストに含めると、失敗後も前のコマンドのセッションやツリー接続が使い回される問題があります。影響するのは7.1.5以降7.2未満と7.2.0以降7.3.2未満のKernelで、修正版は7.2以降と7.3.2です。CVSSは7.4です。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
7.1.5 以上 7.2 未満→ 7.2 7.2.0 以上 7.3.2 未満→ 7.3.2 |
7.2 7.3.2 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99536
- Debian DEBIAN-CVE-2026-99536 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99536 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 ほか 118 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: prevent session binding in compound requests
A failed multichannel binding can retain its target session on the work
item so that the error response can be signed. Subsequent compound
commands can then use that session together with a tree connection left
over from an earlier command.
Limit binding SESSION_SETUP requests to standalone messages during
message validation, before smb2_sess_setup() can replace work->sess.
Check both NextCommand and the current request offset to cover binding
in the first, middle and last positions of a compound. The existing
validation error path returns STATUS_INVALID_PARAMETER and stops
processing the remaining commands.
This intentionally limits support for compounded binding. It is not a
protocol requirement that binding be standalone. Standalone binding and
non-binding compounds retain their existing behavior, without changing
session, tree or response encryption handling.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web github.com