ksmbd handles every request on a pool of shared worker threads, and for each one it installs the requesting user’s filesystem identity for the duration of the operation and removes it afterwards. The kernel CNA record describes one path that forgot the second half: “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.” Red Hat rates it Important at 7.1; Ubuntu Low at 2.3 under CVSS 4.0; SUSE Moderate. If a host runs ksmbd on a 6.9 or later kernel (or 6.6.32 and later) with durable handles enabled and more than one user, upgrade it to a kernel at or above 6.6.163, 6.12.119, 6.18.65 or 7.3.5 and reboot.
CVE-2026-99748 at a glance.
| Component | Linux kernel, the in-kernel SMB server (ksmbd.ko): the durable-reconnect and replay paths of smb2_open() in fs/smb/server/smb2pdu.c |
| Affected versions | mainline 6.9 up to 7.4-rc2 (from commit c8efcc78, “ksmbd: add support for durable handles v1/v2”; the replay path’s Fixes: tag names “ksmbd: add SMB3 request replay support”), and 6.6.32 up to 6.6.163, which took the durable-handle commit as a backport; 6.12.x below 6.12.119, 6.18.x below 6.18.65, 7.3.x below 7.3.5. Kernels before 6.6.32, and the whole of 6.1 and 5.15, have no durable handles in ksmbd |
| Fixed in | mainline 7.4-rc2 (commit 539223f1, the one Debian and Ubuntu cite) and stable 6.6.163, 6.12.119, 6.18.65, 7.3.5; five fix commits in the record. The fix changes two goto err_out2 into goto err_out1 so ksmbd_revert_fsids() runs on the failure; two lines changed |
| Severity | Red Hat Important, CVSS 3.1 7.1 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L), score marked draft; SUSE Moderate, 6.8 (A:N); Ubuntu Low, CVSS 4.0 2.3 (VC:L/VI:L/VA:L); the kernel CNA gives no score and NVD is Received with no score, CWE or CPE. The three vendors agree on the vector up to the impact and then diverge as widely as any record this week |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00168 (6th percentile) on 1 December 2026 |
| Who is exposed | Hosts running ksmbd with durable handles enabled (durable handles = yes in ksmbd.conf, or clients that request replay) and more than one user, on which an authenticated user can make the attribute fetch on reconnect fail, which deleting the file behind an open handle does. The attacker is that user (PR:L); the victim is whoever’s request the same worker thread handles next. Red Hat’s statement: “an authenticated remote user can gain unauthorized access”, and “the in-kernel ksmbd server is not enabled by default in Red Hat Enterprise Linux”; every RHEL release is marked not affected on that basis. Samba’s smbd is a different implementation and not in this record |
| Published | CVE record 20 November 2026 (kernel CNA, updated 23 November with the stable backports); this page built 1 December 2026, last updated 1 December 2026 |
What it is
A durable handle lets an SMB client survive a dropped connection: when it reconnects it presents the handle and the server reopens the file on its behalf, and request replay does the same for a request whose reply was lost. Both go through smb2_open(), and because the reopen touches the filesystem as the user, the function first calls ksmbd_set_fsids() to put that user’s fsuid, fsgid and supplementary groups on the current worker thread. Then it calls ksmbd_vfs_getattr() on the file. If that returns an error, the file has gone or is unreadable, the code took the err_out2 exit, and that label is past the point where err_out1 calls ksmbd_revert_fsids(). The worker went back to the pool with the user’s identity still installed, and the record is plain about what that means: “Later work on that worker, including other users’ requests, runs with the first user’s fsuid, fsgid and supplementary groups.” The kernel noticed, in a sense, since ksmbd_free_work_struct() warned that work->saved_cred was still set, but a warning in the log does not undo a request that has already run.
What an attacker does with it depends on who they are. A low-privilege user who reconnects a durable handle to a file they have deleted leaves their own identity on a worker, which only matters if the next user through that worker has less access than they do; the stronger direction is the other way, where the attacker arranges to be the next user after a privileged one’s failed reconnect, which is the timing Red Hat’s AC:H and Ubuntu’s AT:P describe. Red Hat scores the result as full confidentiality and integrity, since a request running under another identity reads and writes as that identity; Ubuntu scores all three impacts low; SUSE sits between. The record itself gives no severity and describes the mechanism without a scenario.
The fix on GitHub, by Ian Bridges and committed by Namjae Jeon, is two lines: both failure jumps become goto err_out1, so the revert runs, and the commit notes that “no path is held at this point, so skipping the path_put() at err_out is correct”. The record carries two Fixes: tags, the 2024 durable-handles commit and the request-replay commit, which is why the affected range starts at 6.9 on mainline and at 6.6.32, where the 6.6 series took durable handles. git.kernel.org and lore.kernel.org refused our reader, so the backports are described from the record and the mainline commit from its GitHub mirror.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. Durable handles reached ksmbd in 6.9 and the 6.6 series at 6.6.32, so Debian bookworm’s 6.1 and Ubuntu’s 24.04 and 22.04 GA kernels are out of range, and Red Hat does not build the module.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | bookworm (6.1.192-3) not affected (“vulnerable code not present”); fixed in forky and sid (7.3.6-1); trixie (6.12.117-1) and trixie-security (6.12.118-1) vulnerable; no DSA | unstable 7.3.5-1; nothing for trixie on 1 December 2026; bookworm not affected |
| Ubuntu | Low, CVSS 4.0 2.3; linux needed in 26.04 LTS, pending in 26.10 (7.3.0-12.13); 24.04 and older not affected; the 26.x cloud, realtime and riscv flavours vulnerable; no USN | nothing released on 1 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.1 (bug 2577738, “ksmbd: Privilege escalation via retained user credentials on reconnection failure”); every RHEL release and OpenShift image not affected: ksmbd is not enabled in RHEL kernels | not applicable |
| openSUSE/SLE | Moderate, 6.8, state Pending, bug 1291404; released for openSUSE Tumbleweed; affected on SLES 16.0 and 16.1, SL Micro 6.2 and Leap 16.x; every 15 SP7 product, SLE Micro 5.x, SL Micro 6.0 and 6.1 and the LTSS lines not affected | Tumbleweed 7.3.6-2.1; nothing for SLE on 1 December 2026 |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 6.6.163 / 6.12.119 / 6.18.65 / 7.3.5 or later |
How to check
Three questions, in order: which kernel is running, is ksmbd serving at all, and are durable handles on with more than one user connecting. The third is the precondition; a server with one user has nobody to inherit the identity.
# 1. the running kernel (compare with the fixed stable version for its series)
uname -r
# 2. is the in-kernel SMB server running at all
systemctl is-active ksmbd 2>/dev/null
lsmod | grep -E '^ksmbd'
ss -ltnp | grep -E ':445\b'
# 3. the precondition: durable handles on, and several users
grep -nEi 'durable handles|smb2 max credits' /etc/ksmbd/ksmbd.conf 2>/dev/null
# the warning the record mentions: a worker freed with saved credentials still set
journalctl -k --since -7d 2>/dev/null | grep -iE 'ksmbd.*(saved_cred|WARN)' | tail
# users with sessions right now (the server does not list them directly; the client addresses are the proxy)
ss -tnp state established '( sport = :445 )' | awk 'NR>1 {print $5}' | sed 's/:[0-9]*$//' | sort -uA kernel at or above the fixed stable version for its series is done, and a kernel below 6.6.32 or on the 6.1 or 5.15 series never had durable handles and is not in range. A host with no ksmbd module is not in the path, and a Red Hat host cannot load one. A ksmbd server with durable handles = yes and several users is the record’s case. The saved_cred warning in the kernel log is the one direct sign: the record says the kernel warns when a work item is freed with the credentials still set, so a warning in the log means the path has been taken on this host, by a user who may or may not have meant to.
How to fix it
Install the fixed kernel and reboot; ksmbd is a kernel module and restarting its service does not replace the server code. Debian forky and sid and Tumbleweed had the fix out on 1 December; Debian trixie, Ubuntu 26.x and SUSE’s SLES 16 were pending, and Red Hat, Debian bookworm and Ubuntu 24.04 and older are not affected.
# Debian forky / sid (trixie once its security update names this CVE)
apt update && apt install linux-image-amd64 && systemctl reboot # or linux-image-arm64
# Ubuntu 26.x, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
zypper patch && systemctl reboot
uname -r# Until then: turn durable handles off in ksmbd.conf and restart the service (clients lose reconnect-after-drop,
# nothing else), or stop ksmbd and serve with Samba's smbd
sed -i -E 's/^\s*durable handles\s*=.*/durable handles = no/' /etc/ksmbd/ksmbd.conf && systemctl restart ksmbd
systemctl disable --now ksmbdTurning durable handles off is a real mitigation because the two paths in the record are the reconnect and the replay, and neither is reached without them; the cost is that a client whose connection drops has to reopen its files rather than resume. What not to do: do not take Ubuntu’s 2.3 and Red Hat’s 7.1 as a disagreement about the mechanism, which the record states plainly and both accept; they disagree about how much a request running under a borrowed identity can do, and on a file server where users have different access to the same shares the answer is Red Hat’s. And do not treat the kernel’s WARN as the fix: it fires after the request has run.
Sources
- CVE-2026-99748 at CVE.org — the kernel CNA record (20 November 2026, updated 23 November): the commit message with the err_out2 and “runs with the first user’s fsuid, fsgid and supplementary groups” sentences, the git and version ranges,
fs/smb/server/smb2pdu.c - Fix commits on git.kernel.org: 539223f1 (mainline, 7.4-rc2) and the backports 9e3b6a97, 559711f3, fd4f7aa9, bd7142a1; git.kernel.org refuses automated readers, so the mainline commit was read on GitHub: Ian Bridges, committed by Namjae Jeon, the two
Fixes:tags (c8efcc78durable handles,bb8bf7e8request replay) and the twogoto err_out1changes - NVD entry — Received on 20 November 2026; no NVD score, CWE or CPE on 1 December
- Distribution trackers: Debian (bookworm not affected, forky and sid fixed, trixie vulnerable) · Ubuntu (Low, 2.3; needed in 26.04, 26.10 pending, 24.04 and older not affected) · Red Hat (Important 7.1, every RHEL release not affected (no ksmbd); bug 2577738) · SUSE (Moderate 6.8, Tumbleweed 7.3.6-2.1; bug 1291404)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00168 (percentile 0.064) on 1 December 2026
Related reading
- CVE-2026-99531: Linux kernel ksmbd runs an encrypted request under the wrong session — the same week’s ksmbd set, another way one user’s request runs as another
- CVE-2026-99565: Linux kernel ksmbd handles an SMB1 request with SMB2 code — the same set, unauthenticated
- CVE-2026-99541: Linux kernel ksmbd reconnect out-of-bounds — the same reconnect path, rated the week before
- CVE-2026-99536: Linux kernel ksmbd lets a failed multichannel binding leave another session on a compound request — a failed operation leaving the wrong identity behind, the same server
- CVE-2026-99357: Linux kernel NFS server replays a deferred RPCSEC_GSS call from the wrong offset — the other kernel file server, a replay under another user
- The Kernel — module autoload, why an unused subsystem is still an attack surface, and how
install … /bin/falsediffers fromblacklist
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
