A new SMB connection starts with negotiation, and ksmbd decides from the first request whether the client speaks SMB1 or SMB2 and installs the matching operation table on the connection. The kernel CNA record describes a window in that hand-off: “The receive thread queues a request and can read the next PDU before the negotiation worker finishes. While need_neg is set, the next PDU can cause ksmbd_init_smb_server() to replace conn->ops. A pipelined SMB2 request can therefore make the worker handle an earlier, shorter SMB1 request with SMB2 operations and read beyond its buffer.” No credentials are involved, because this happens before any. Red Hat rates it Important at 8.2, Ubuntu High at 8.3 under CVSS 4.0, SUSE Moderate. If a host runs ksmbd and port 445 is reachable by anyone it does not trust, upgrade it to a kernel at or above 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.2.15 or 7.3.2 and reboot; on Ubuntu 26.04 the fixed kernel is already out.
CVE-2026-99565 at a glance.
| Component | Linux kernel, the in-kernel SMB server (ksmbd.ko): queue_ksmbd_work() in fs/smb/server/server.c, the receive loop that reads PDUs and queues them for the worker threads; the negotiation phase of every new connection |
| Affected versions | mainline 6.3 up to 7.4-rc1 (from commit dc8289f9, “ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr”), and the stable series that took that commit as a backport: 5.15.145 up to 5.15.226, 6.1.24 up to 6.1.193, 6.2.11 up to 6.3; 6.6.x below 6.6.163, 6.12.x below 6.12.117, 6.18.x below 6.18.61, 7.2.x below 7.2.15, 7.3.x below 7.3.2. Kernels before 5.15 have no ksmbd |
| Fixed in | mainline 7.4-rc1 (commit 68f410fa, the one Debian and Ubuntu cite) and stable 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.2.15, 7.3.2; eight fix commits in the record. The fix makes the receive thread wait for queued work to drain while the connection is new or needs negotiation before it reads another PDU; five lines added in one file |
| Severity | Red Hat Important, CVSS 3.1 8.2 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H), CWE-125, score marked draft; Ubuntu High, CVSS 4.0 8.3; SUSE Moderate, 6.5 (AC:H); the kernel CNA gives no score and NVD is Received with no score, CWE or CPE. The vendors agree it is unauthenticated and remote and differ on attack complexity |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00202 (11th percentile) on 1 December 2026 |
| Who is exposed | Every host running ksmbd whose port 445 an attacker can reach, with no account needed: the request sequence is an SMB1 negotiate followed, on the same connection and without waiting, by an SMB2 request. Red Hat’s statement: “an unauthenticated remote attacker can trigger DoS (crash) or leak kernel memory”, and “systems not using ksmbd / using only user-space Samba are not exposed”; Red Hat does not build ksmbd and marks every RHEL release not affected. Samba’s smbd is a different implementation and not in this record |
| Published | CVE record 19 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
ksmbd splits receiving from handling. One thread per connection reads PDUs off the socket and queues each as a work item; a pool of workers handles them. A brand-new connection has need_neg set, meaning the server does not yet know the dialect, and the first PDU decides: an SMB1 multi-protocol negotiate or an SMB2 NEGOTIATE makes ksmbd_init_smb_server() install the SMB1 or SMB2 operation table in conn->ops. The record’s point is that the receive thread did not wait for that decision to be made before reading the next PDU. If a client sends an SMB1 negotiate and, without waiting for the reply, an SMB2 request, the second read can replace conn->ops with the SMB2 table while the worker is still about to handle the first, shorter, SMB1 message; the worker then parses an SMB1 buffer with SMB2 field offsets and reads past its end.
The two-stage case the record names makes the window wider than one swap: “An SMB1 multi-protocol negotiate may be followed by an SMB2 NEGOTIATE that changes conn->ops again”, so a connection can go through two table changes before it is settled. The fix on GitHub, by Namjae Jeon, is five lines in queue_ksmbd_work(): when the connection is new or still needs negotiation, after queueing the work it waits on conn->req_running_q until no request is running, with the comment that negotiation can change conn->ops. That serialises the negotiation PDUs without changing when need_neg is cleared, so both stages complete before the next read. The Fixes: tag names the 2023 commit that reworked the negotiate handling, which is why the affected range starts at 6.3 on mainline and at the points where the stable series took that commit.
What an attacker gets is an out-of-bounds read in a kernel thread: a crash, which is the availability score every vendor gives, or, as Red Hat notes, a leak of what follows the buffer. The record describes no write. The precondition is nothing more than reaching the port, which is why Red Hat’s and Ubuntu’s vectors are PR:N and why this is the one of the week’s ksmbd records to treat as urgent on any server that is reachable beyond its own LAN. 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. ksmbd arrived in 5.15; Red Hat does not build it. On 1 December Debian trixie and bookworm’s 6.12 backport, Ubuntu 26.04 and openSUSE Tumbleweed had the fix out.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | Fixed in trixie (6.12.117-1), trixie-security (6.12.118-1), forky (7.3.5-1) and sid (7.3.6-1) and in bookworm’s linux-6.12 backport (6.12.117-1~deb12u1); bookworm’s own 6.1 kernel (6.1.192-2) vulnerable; no DSA | trixie 6.12.117-1; unstable 7.2.15-1; bookworm linux-6.12 6.12.117-1~deb12u1; nothing for bookworm’s 6.1 on 1 December 2026 |
| Ubuntu | High, CVSS 4.0 8.3; linux released for 26.04 LTS (7.0.0-44.44, with the aws, azure-fde, gcp, gke, ibm, oracle, oem-7.0, raspi, realtime and vmware flavours, and the 7.0 HWE flavours on 24.04), pending in 26.10 (7.3.0-12.13), needed in 24.04 LTS and 22.04 LTS on their own kernels; 20.04 and older not affected; the nvidia flavours in progress | 26.04 7.0.0-44.44; 24.04 linux-hwe-7.0 7.0.0-44.44~24.04.1; nothing for the 24.04 and 22.04 GA kernels on 1 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 8.2, CWE-125 (bug 2576907, “ksmbd out-of-bounds read via pipelined negotiation requests”); every RHEL release and OpenShift image not affected: ksmbd is not enabled in RHEL kernels | not applicable |
| openSUSE/SLE | Moderate, 6.5, bug 1291919; affected on SLE 15 SP7, 16.0, 16.1, SL Micro 6.x, Leap 16.x and 15 SP6 LTSS; 15 SP5 and older, 12 SP5 and SLE Micro 5.x not affected; the page lists no released package | nothing for SLE on 1 December 2026 (Tumbleweed not listed on this page) |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 5.15.226 / 6.1.193 / 6.6.163 / 6.12.117 / 6.18.61 / 7.2.15 / 7.3.2 or later |
How to check
Two questions after the kernel version: is ksmbd serving at all, and who can reach it. There is no further precondition; a connection that reaches the negotiate phase is enough, and every connection does.
# 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. who can reach it: the listening address, and whether anything in front limits it
ss -ltn | grep -E ':445\b'
nft list ruleset 2>/dev/null | grep -nE '445' ; iptables -S 2>/dev/null | grep -E '445'
grep -nE 'bind interfaces only|interfaces' /etc/ksmbd/ksmbd.conf 2>/dev/nullA kernel at or above the fixed stable version for its series is done. A host with no ksmbd module is not in the path, and a Red Hat host cannot load one. A ksmbd server that listens on every address with no filter in front is reachable by anyone who can route to it, and that is the whole precondition. A crash looks like any kernel oops with ksmbd frames in it; look in journalctl -k for BUG: KASAN or general protection fault with ksmbd in the trace, but the absence of one means nothing, since a careful read of the bytes past the buffer leaves no trace.
How to fix it
Install the fixed kernel and reboot; ksmbd is a kernel module and restarting the ksmbd service reloads the userspace daemon, not the server. Ubuntu 26.04, Debian trixie and bookworm’s 6.12 backport and Tumbleweed had the fix out on 1 December; Ubuntu 24.04 and 22.04 on their GA kernels and SUSE’s enterprise kernels were pending, and Red Hat is not affected.
# Ubuntu 26.04 (and 24.04 on the 7.0 HWE kernel)
apt update && apt full-upgrade && systemctl reboot
# Debian trixie / forky / sid, and bookworm on the linux-6.12 backport
apt update && apt install linux-image-amd64 && systemctl reboot # or linux-image-arm64
# SUSE: when the pending builds land
zypper patch && systemctl reboot
uname -r# Until then: limit who can reach 445, or stop the kernel server and serve with Samba's smbd
nft add rule inet filter input tcp dport 445 ip saddr != 192.0.2.0/24 drop # your client range
systemctl disable --now ksmbdWhat not to do: do not disable SMB1 in ksmbd.conf and call it done. The record’s sequence starts with an SMB1 negotiate, but the parsing confusion is in the receive loop before the dialect is settled, and the fix is a wait in that loop, not a dialect filter; the record does not say an SMB1-off configuration closes the window, so this page does not either. And do not weigh this by SUSE’s Moderate alone: the vendors differ on complexity, not on the fact that it needs no account.
Sources
- CVE-2026-99565 at CVE.org — the kernel CNA record (19 November 2026, updated 23 November): the commit message with the need_neg and conn->ops sentences and the two-stage negotiate case, the git and version ranges,
fs/smb/server/server.c - Fix commits on git.kernel.org: 68f410fa (mainline, 7.4-rc1) and the backports 0152126a, f60dc56d, 99bddd24, a9039d6c, 49675f7b, aaf8a64a, d4a52e78; git.kernel.org refuses automated readers, so the mainline commit was read on GitHub: Namjae Jeon, the
Fixes: dc8289f9tag and the wait onreq_running_qinqueue_ksmbd_work() - NVD entry — Received on 19 November 2026; no NVD score, CWE or CPE on 1 December
- Distribution trackers: Debian (trixie 6.12.117-1 fixed, bookworm’s 6.12 backport fixed, bookworm 6.1 vulnerable) · Ubuntu (High, 8.3; 26.04 released at 7.0.0-44.44, 24.04 and 22.04 needed) · Red Hat (Important 8.2, CWE-125, every RHEL release not affected (no ksmbd); bug 2576907) · SUSE (Moderate 6.5; bug 1291919)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00202 (percentile 0.107) 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, authenticated
- CVE-2026-99748: Linux kernel ksmbd keeps a user’s credentials on a worker after a failed reconnect — the same set
- CVE-2026-99389: Linux kernel ksmbd UTF-16 overflow — another unauthenticated parse in the same server
- CVE-2026-99541: Linux kernel ksmbd reconnect out-of-bounds — the same server, rated the week before
- CVE-2026-99387: Linux kernel SMB1 client reads past a server’s reply when fetching a POSIX lock — SMB1 on the client side, the same week
- 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.

