# CVE-2026-99748: ksmbd: revert fsids on durable reconnect and replay failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-20T05:51:19.027Z
- Modified: 2026-11-23T08:18:15.040Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8df4bcdb0a4232192b2445256c39b787d58ef14d before 9e3b6a97af5340171f51237511afbac62a932b90; from c8efcc786146a951091588e5fa7e3c754850cb3c before 559711f3182f3e17884795bf988cf7cff21e1a9a; from c8efcc786146a951091588e5fa7e3c754850cb3c before fd4f7aa999077a6b0cda4834835aacffb63c634d; from c8efcc786146a951091588e5fa7e3c754850cb3c before bd7142a1d60c8aeb203e007515e077bcded88769; from c8efcc786146a951091588e5fa7e3c754850cb3c before 539223f18026448f67d33d09719c355b91db7fd0; from 6.6.32 before 6.6.163; 6.9 (not affected: before 6.9; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/9e3b6a97af5340171f51237511afbac62a932b90>
- <https://git.kernel.org/stable/c/559711f3182f3e17884795bf988cf7cff21e1a9a>
- <https://git.kernel.org/stable/c/fd4f7aa999077a6b0cda4834835aacffb63c634d>
- <https://git.kernel.org/stable/c/bd7142a1d60c8aeb203e007515e077bcded88769>
- <https://git.kernel.org/stable/c/539223f18026448f67d33d09719c355b91db7fd0>

## Sources

- CVE List: [CVE-2026-99748](https://www.cve.org/CVERecord?id=CVE-2026-99748), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99748](https://nvd.nist.gov/vuln/detail/CVE-2026-99748), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99748 · Whole record: https://cve.day/CVE-2026-99748.json · Rebuilt by cve.day 2026-11-25T22:59:52.330Z
