Linux カーネルのksmbdに権限が元に戻らず、別ユーザーの権限で処理される脆弱性
概要
Linux カーネルのksmbdで、再接続や要求の再送処理に失敗すると、前のユーザーの権限が作業スレッドに残り、以後の別ユーザーの処理がその権限で動く問題が見つかりました。影響は6.6.32以降6.7未満と6.9.0以降7.3.5未満の版で、6.7と7.3.5で修正されています。修正版への更新を優先してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux カーネルのksmbdで、再接続や要求の再送処理に失敗すると、前のユーザーの権限が作業スレッドに残り、以後の別ユーザーの処理がその権限で動く問題が見つかりました。影響は6.6.32以降6.7未満と6.9.0以降7.3.5未満の版で、6.7と7.3.5で修正されています。修正版への更新を優先してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
6.6.32 以上 6.6.163 未満→ 6.6.163 6.9.0 以上 6.12.119 未満→ 6.12.119 6.13.0 以上 6.18.65 未満→ 6.18.65 6.19.0 以上 7.3.5 未満→ 7.3.5 |
6.6.163 6.12.119 6.18.65 7.3.5 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99748 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99748 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99748 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 ほか 118 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: revert fsids on durable reconnect and replay failure
On a durable handle reconnect or a request replay, smb2_open() switches
to the SMB user's fsids before calling ksmbd_vfs_getattr(). If that call
fails, the code jumps to err_out2 and skips ksmbd_revert_fsids() at
err_out1. The user's credentials then stay installed on the shared ksmbd
worker. Later work on that worker, including other users' requests, runs
with the first user's fsuid, fsgid and supplementary groups.
ksmbd_free_work_struct() also warns, because work->saved_cred is still
set.
Jump to err_out1 instead. No path is held at this point, so skipping the
path_put() at err_out is correct.
出典: 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 github.com