NetSight
unscored

CVE-2026-99748

In the Linux kernel, the following vulnerability has been resolved: ksmbd: revert fsids on durable reconnect and replay failure On a durable handle reconnect o…

Impact

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

ProductAffected versions
Linux
from c8efcc786146a951091588e5fa7e3c754850cb3c before bd7142a1d60c8aeb203e007515e077bcded88769
from c8efcc786146a951091588e5fa7e3c754850cb3c before 539223f18026448f67d33d09719c355b91db7fd0
from 6.6.32 before 6.7
Versions 8df4bcdb0a4232192b2445256c39b787d58ef14d, 6.9, patch: 7.4-rc2

References