What’s Vulnerable › Vulnerabilities
CVE-2026-99748: ksmbd: revert fsids on durable reconnect and replay failure
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-20 · updated 2026-11-23
Description
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.
Affected products
- Linux: from 6.6.32 before 6.6.163 — fixed in 6.6.163
How to fix
Upgrade to a fixed version: Linux 6.6.163. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/539223f18026448f67d33d09719c355b91db7fd0
- https://git.kernel.org/stable/c/559711f3182f3e17884795bf988cf7cff21e1a9a
- https://git.kernel.org/stable/c/9e3b6a97af5340171f51237511afbac62a932b90
- https://git.kernel.org/stable/c/bd7142a1d60c8aeb203e007515e077bcded88769
- https://git.kernel.org/stable/c/fd4f7aa999077a6b0cda4834835aacffb63c634d
Get alerted when CVE-2026-99748 or the next vulnerability affects your stack