CVE-2026-99536: Linux kernel ksmbd lets a failed multichannel binding leave another session on a compound request

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

ksmbd, the SMB server that lives inside the kernel, supports SMB 3 multichannel, where a client binds a second connection to an existing session with a SESSION_SETUP request carrying the binding flag. When such a binding failed, ksmbd kept the target session on the work item so that the error response could be signed with it, and if the client had packed more commands into the same compound request, those commands “can then use that session together with a tree connection left over from an earlier command”. An authenticated client can therefore reach another session’s share under that session’s identity. The kernel CNA scores it 7.1 (AV:N/AC:H/PR:L, high confidentiality and integrity impact) and Red Hat rates it Important. On any host running ksmbd, upgrade to a kernel at or above 7.3.2 and reboot; until then, turn multichannel support off in ksmbd.conf and restart the server, or keep port 445 to the clients that need it.

CVE-2026-99536 at a glance.

ComponentLinux kernel, ksmbd (the in-kernel SMB 3 server): request validation in fs/smb/server/smb2misc.c; the ksmbd module, which is not loaded unless the ksmbd tools start it
Affected versionsthe kernel CNA’s own version data is in two blocks that do not agree: one marks 7.1.5 up to 7.2 (from commit 4b706360) as affected, the other marks 7.2 and later as affected and everything below 7.2 as unaffected. The distributions place the vulnerable code in the 7.x kernels only: Debian says it is not present in 6.1 and 6.12, Ubuntu marks its 7.0 and 7.3 kernels vulnerable and 6.x and older not affected
Fixed inmainline 7.4-rc1 (commit 19f8fd6b, the one Debian cites as upstream) and stable 7.3.2 (commit 4f148586); the fix limits binding SESSION_SETUP requests to standalone messages during validation, checking both NextCommand and the request offset, and answers a compounded binding with STATUS_INVALID_PARAMETER
Severitykernel CNA CVSS 3.1 7.1 High (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L); NVD Received with no score of its own on 20 November. Red Hat Important, 7.4 (PR:N, no availability impact, scores marked draft), CWE-305 (authentication bypass by primary weakness); Ubuntu High, 7.1; SUSE moderate, 6.8, Resolved. Alpine not consulted
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.27). EPSS 0.0023 (8th percentile) on 30 November 2026
Who is exposedhosts that run ksmbd with multichannel enabled and serve more than one user: the attacker needs a valid account on the server (PR:L) and a client that can issue compound requests with a failed binding in them (AC:H), after which the commands behind the binding act under another session. Red Hat’s statement is that ksmbd is not enabled in default installations and exposure is limited to systems that load and configure it; Samba (smbd) is a different code base and is not affected by this bug
PublishedCVE record 19 November 2026 (kernel CNA, updated 22 November); this page built 1 December 2026, last updated 1 December 2026

What it is

SMB 3 multichannel lets one authenticated session span several TCP connections. The second connection is attached with a SESSION_SETUP request that carries the binding flag and names the existing session, and the server signs its reply with that session’s key, which is why ksmbd records the target session on the work item before it knows whether the binding will succeed. The commit message describes what went wrong when it did not: “A failed multichannel binding can retain its target session on the work item so that the error response can be signed. Subsequent compound commands can then use that session together with a tree connection left over from an earlier command.” A compound request is several SMB 2 commands in one message, chained by the NextCommand offset, and ksmbd processes them in order on the same work item, so a binding in the first or middle position leaves its session in place for everything after it.

The fix is in message validation rather than in the binding code itself: ksmbd now limits binding SESSION_SETUP requests to standalone messages, “before smb2_sess_setup() can replace work->sess“, and it checks both NextCommand and the current request offset so that a binding in the first, middle or last position of a compound is caught. The existing validation error path returns STATUS_INVALID_PARAMETER and stops processing the remaining commands. The author notes this “intentionally limits support for compounded binding”, since the protocol does not require binding to be standalone; standalone bindings and compounds without a binding behave as before. The single file touched is fs/smb/server/smb2misc.c.

Red Hat reads the result as unauthorised access (CWE-305) and scores it 7.4 with no privileges required; the kernel CNA’s 7.1 assumes the attacker holds an account. Either way the gate is configuration: ksmbd has to be running, multichannel has to be on, and there has to be another session worth reaching. The git.kernel.org pages refused our reader, so the diff is described here from the CNA’s copy of the commit message and the record’s file list; the version data in the record is internally inconsistent, as the box says, and the distribution rows below are the better guide to which kernels carry the code.

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.

DistributionStatusFixed package
AlpineNot consulted for this page—
DebianNot affected in bookworm (6.1) and trixie (6.12), “vulnerable code not present”; fixed in forky and sidforky 7.3.4-1, sid 7.3.5-1 (the tracker records the fix as 7.3.3-1 in unstable)
UbuntuHigh, 7.1; the linux package is vulnerable, work in progress on 26.10 and 26.04; 24.04 and older not affected; the cloud kernels follow the same pattern26.10 7.3.0-12.13 and 26.04 7.0.0-45.45 in progress, nothing released on 1 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.4, CWE-305 (bug 2576781); every RHEL and OpenShift kernel listed not affected; the statement says ksmbd is not enabled in default installationsnone needed
openSUSE/SLEmoderate, 6.8, Resolved (bug 1291754); every listed product not affectednone needed
Fedora, Arch; self-built kernelsNot consulted; upstream versions apply to any 7.x kernel that enables CONFIG_SMB_SERVER7.3.2 or later

How to check

Three questions, in order: is this a 7.x kernel below 7.3.2, is ksmbd running at all, and is multichannel switched on. Only a host that answers yes to all three is exposed, and the second and third are what you can change today.

# 1. the running kernel (the vulnerable code is in the 7.x line; 7.3.2 and later are fixed)
uname -r

# 2. is the in-kernel SMB server built, loaded, running, listening?
grep -E 'CONFIG_SMB_SERVER=' /boot/config-$(uname -r) 2>/dev/null
lsmod | grep -w ksmbd
systemctl status ksmbd 2>/dev/null | head -3; pgrep -a ksmbd.mountd
ss -tlnp | grep -E ':445\b'

# 3. is multichannel on? (the option lives in the [global] section of ksmbd.conf)
grep -iE '^\s*server multi channel support' /etc/ksmbd/ksmbd.conf 2>/dev/null
ls /sys/class/ksmbd-control/ 2>/dev/null

A kernel at or above 7.3.2, or any 6.x kernel, is not carrying the bug. A host where step 2 shows nothing is not running ksmbd and has nothing to do; remember that ksmbd and Samba are different servers, and smbd on port 445 is Samba. A host that is running ksmbd with multichannel support set to yes is the case this page is about: every authenticated user of that server can, with the right compound request, act under another connected session until the kernel is replaced or the option is turned off.

How to fix it

Install the fixed kernel and reboot; a kernel bug is not patched in place. Debian’s forky and sid already carry a fixed kernel; Ubuntu’s 26.04 and 26.10 builds were still in progress on 1 December 2026; Red Hat and SUSE do not ship the affected code.

# Debian forky / sid
apt update && apt install linux-image-amd64 && systemctl reboot
# Ubuntu 26.04 / 26.10: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
# self-built kernels: 7.3.2 or later from kernel.org
uname -r

If the kernel cannot be replaced yet, take multichannel away: set server multi channel support = no in the [global] section of /etc/ksmbd/ksmbd.conf and restart the server, which closes the binding path the bug depends on at the cost of single-connection throughput. If the server is only for a few known clients, a firewall rule on port 445 limits who can try. What not to do: do not treat Samba hardening guides as applying here, since smb.conf options do nothing for ksmbd; and do not rely on share-level permissions as the mitigation, because the bug gives the attacker another session’s tree connection, with that session’s rights.

# mitigation A: turn multichannel off until the fixed kernel is booted
sed -i 's/^\s*server multi channel support\s*=.*/server multi channel support = no/' /etc/ksmbd/ksmbd.conf
grep -i 'multi channel' /etc/ksmbd/ksmbd.conf || echo 'server multi channel support = no' >> /etc/ksmbd/ksmbd.conf
systemctl restart ksmbd

# mitigation B: only the clients that should reach the share may reach port 445
nft add table inet smbguard 2>/dev/null
nft add chain inet smbguard in '{ type filter hook input priority -10; }'
nft add rule inet smbguard in tcp dport 445 ip saddr { 192.0.2.0/24 } accept
nft add rule inet smbguard in tcp dport 445 drop
nft list table inet smbguard

Sources

  • CVE-2026-99536 at CVE.org — the kernel CNA record (19 November 2026, updated 22 November): the commit message with the mechanism, the two version blocks, the file list and CVSS 3.1 7.1
  • Fix commits on git.kernel.org: 19f8fd6b (mainline, 7.4-rc1 per Debian) and the backport 4f148586 (7.3.2); git.kernel.org refused our reader on 1 December, so the diff was not read for this page
  • NVD entry — Received on 19 November, no NVD score, CWE or CPE yet
  • Distribution trackers: Debian (not affected in 6.1 and 6.12, fixed in forky/sid) · Ubuntu (High, 26.04 and 26.10 in progress) · Red Hat (Important 7.4, CWE-305, not affected, the default-install statement) · SUSE (moderate 6.8, Resolved)
  • CISA KEV catalogue 2026.11.27, not listed · EPSS score for this CVE, 30 November 2026

Related reading

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.