Linux Kernelのksmbdに、複合リクエストでセッションが誤って引き継がれる脆弱性
Summary
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 summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
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です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 7.1.5, < 7.2→ 7.2 ≥ 7.2.0, < 7.3.2→ 7.3.2 |
7.2 7.3.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99536
- Debian DEBIAN-CVE-2026-99536 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99536 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 +118 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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