Bug 2577738 (CVE-2026-99748) - CVE-2026-99748 kernel: kernel: ksmbd: Privilege escalation via retained user credentials on reconnection failure
Summary: CVE-2026-99748 kernel: kernel: ksmbd: Privilege escalation via retained user ...
Keywords:
Status: NEW
Alias: CVE-2026-99748
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-20 06:11 UTC by OSIDB Bzimport
Modified: 2026-11-20 10:45 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-20 06:11:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.