Linux カーネルのksmbdに権限が元に戻らず、別ユーザーの権限で処理される脆弱性
Summary
Linux カーネルのksmbdで、再接続や要求の再送処理に失敗すると、前のユーザーの権限が作業スレッドに残り、以後の別ユーザーの処理がその権限で動く問題が見つかりました。影響は6.6.32以降6.7未満と6.9.0以降7.3.5未満の版で、6.7と7.3.5で修正されています。修正版への更新を優先してください。
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 カーネルのksmbdで、再接続や要求の再送処理に失敗すると、前のユーザーの権限が作業スレッドに残り、以後の別ユーザーの処理がその権限で動く問題が見つかりました。影響は6.6.32以降6.7未満と6.9.0以降7.3.5未満の版で、6.7と7.3.5で修正されています。修正版への更新を優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| 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 |
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-99748 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99748 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99748 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: 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.
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 git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com