Linux Kernelのksmbdで認証を回避される脆弱性
概要
ksmbdで暗号化されたSMB要求のセッションを検証していないため、別のセッションとして要求を実行される脆弱性です。影響を受けるのは5.15.0〜6.12.117未満、6.13.0〜6.18.61未満、6.19.0〜7.3.2未満のLinux Kernelで、6.12.117、6.18.61、7.3.2以降の修正版で直ります。修正版への更新を急ぎ、ksmbdを使っている場合は優先して対応してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
ksmbdで暗号化されたSMB要求のセッションを検証していないため、別のセッションとして要求を実行される脆弱性です。影響を受けるのは5.15.0〜6.12.117未満、6.13.0〜6.18.61未満、6.19.0〜7.3.2未満のLinux Kernelで、6.12.117、6.18.61、7.3.2以降の修正版で直ります。修正版への更新を急ぎ、ksmbdを使っている場合は優先して対応してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
5.15.0 以上 5.15.226 未満→ 5.15.226 5.16.0 以上 6.1.193 未満→ 6.1.193 6.2.0 以上 6.6.163 未満→ 6.6.163 6.7.0 以上 6.12.117 未満→ 6.12.117 6.13.0 以上 6.18.61 未満→ 6.18.61 6.19.0 以上 7.3.2 未満→ 7.3.2 |
5.15.226 6.1.193 6.6.163 6.12.117 6.18.61 7.3.2 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99531 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99531 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99531 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 154 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: verify transform SessionId matches the decrypted header
When an encrypted request comes in, the decryption key is picked by
the SessionId in the transform header, but the request is then
authorized under whatever session the decrypted inner header names.
Nothing ever compares the two, so on a connection with more than
one session a client can get a request decrypted with one session's
key and run it as another session. Encrypted requests are exempt
from signing too, so a valid AEAD tag is the only proof of session
identity, and it is checked against the wrong session.
MS-SMB2 says the server must check that the transform SessionId
matches the one in the decrypted SMB2 header and treat a mismatch
as a protocol error. Add that check in __handle_ksmbd_work() after
decryption, before dispatching: the message has to be at least one
fixed SMB2 header, the first operation must not set
SMB2_FLAGS_RELATED_OPERATIONS and its SessionId must match the
transform SessionId, and every following non-related operation in
a compound chain must carry the same SessionId. NextCommand
offsets must be 8-byte aligned and stay inside the message; the
bounds check is done by subtraction so it cannot wrap.
When the decrypted payload is a compression transform, the
existing decompression step runs first and the decompressed SMB2
message is checked instead, since a compression transform header
carries no SessionId.
出典: 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 git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com