CVE-2026-99748

ksmbd: revert fsids on durable reconnect and replay failure

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c8efcc786146a951091588e5fa7e3c754850cb3c to before bd7142a1d60c8aeb203e007515e077bcded88769Affected
  • c8efcc786146a951091588e5fa7e3c754850cb3c to before 539223f18026448f67d33d09719c355b91db7fd0Affected
  • 8df4bcdb0a4232192b2445256c39b787d58ef14dAffected
  • 6.6.32 to before 6.7Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.