CVE-2026-99748
ksmbd: revert fsids on durable reconnect and replay failure
- CVSS
- —
- EPSS
- 0.17% (p6)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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.
Fixed in
539223f18026448f67d33d09719c355b91db7fd0 · 559711f3182f3e17884795bf988cf7cff21e1a9a · 6.6.163 · 6.7 · 7.3.5 · 9e3b6a97af5340171f51237511afbac62a932b90 · bd7142a1d60c8aeb203e007515e077bcded88769 · fd4f7aa999077a6b0cda4834835aacffb63c634d
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.6.32, <6.7 | 6.7 |
| Linux | Kernel | >=6.9.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=6.6.32, <6.6.163 | 6.6.163 |
| vendor | Linux | >=6.6.32, <6.7 | 6.7 |
| vendor | Linux | >=8df4bcdb0a4232192b2445256c39b787d58ef14d, <9e3b6a97af5340171f51237511afbac62a932b90 | 9e3b6a97af5340171f51237511afbac62a932b90 |
| vendor | Linux | >=c8efcc786146a951091588e5fa7e3c754850cb3c, <539223f18026448f67d33d09719c355b91db7fd0 | 539223f18026448f67d33d09719c355b91db7fd0 |
| vendor | Linux | >=c8efcc786146a951091588e5fa7e3c754850cb3c, <559711f3182f3e17884795bf988cf7cff21e1a9a | 559711f3182f3e17884795bf988cf7cff21e1a9a |
| vendor | Linux | >=c8efcc786146a951091588e5fa7e3c754850cb3c, <bd7142a1d60c8aeb203e007515e077bcded88769 | bd7142a1d60c8aeb203e007515e077bcded88769 |
| vendor | Linux | >=c8efcc786146a951091588e5fa7e3c754850cb3c, <fd4f7aa999077a6b0cda4834835aacffb63c634d | fd4f7aa999077a6b0cda4834835aacffb63c634d |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/bd7142a1d60c8aeb203e007515e077bcded88769 other
- https://git.kernel.org/stable/c/539223f18026448f67d33d09719c355b91db7fd0 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99748.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99748 advisory
- https://git.kernel.org/stable/c/9e3b6a97af5340171f51237511afbac62a932b90 other
- https://git.kernel.org/stable/c/559711f3182f3e17884795bf988cf7cff21e1a9a other
- https://git.kernel.org/stable/c/fd4f7aa999077a6b0cda4834835aacffb63c634d other