← VULNERABILITIES

CVE-2026-99748

ksmbd: revert fsids on durable reconnect and replay failure

UnscoredFix available
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

EcosystemPackageRangeFixed
LinuxKernel>=6.6.32, <6.76.7
LinuxKernel>=6.9.0, <7.3.57.3.5
vendorLinux>=6.6.32, <6.6.1636.6.163
vendorLinux>=6.6.32, <6.76.7
vendorLinux>=8df4bcdb0a4232192b2445256c39b787d58ef14d, <9e3b6a97af5340171f51237511afbac62a932b909e3b6a97af5340171f51237511afbac62a932b90
vendorLinux>=c8efcc786146a951091588e5fa7e3c754850cb3c, <539223f18026448f67d33d09719c355b91db7fd0539223f18026448f67d33d09719c355b91db7fd0
vendorLinux>=c8efcc786146a951091588e5fa7e3c754850cb3c, <559711f3182f3e17884795bf988cf7cff21e1a9a559711f3182f3e17884795bf988cf7cff21e1a9a
vendorLinux>=c8efcc786146a951091588e5fa7e3c754850cb3c, <bd7142a1d60c8aeb203e007515e077bcded88769bd7142a1d60c8aeb203e007515e077bcded88769
vendorLinux>=c8efcc786146a951091588e5fa7e3c754850cb3c, <fd4f7aa999077a6b0cda4834835aacffb63c634dfd4f7aa999077a6b0cda4834835aacffb63c634d

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

JSON