Description
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: wait for negotiation before receiving another PDU
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.
An SMB1 multi-protocol negotiate may be followed by an SMB2 NEGOTIATE
that changes conn->ops again. Wait for work queued while the connection
is new or needs negotiation to complete before reading another PDU.
This keeps the operations stable for both stages of negotiation without
changing when need_neg is cleared.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.15.145 – < 5.16, 6.1.24 – < 6.2, 6.2.11 – < 6.3, 6.3 | 5.16 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.2.15-1 | — |
| Debian 13 | linux | 6.12.117-1 | — |
| Debian 12 | linux | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | kernel | No fix yet | — |
Advisories 1
- WID-SEC-2026-4695 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 19, 2026
References
- https://git.kernel.org/stable/c/a9039d6c9de5dfd91f360b085da75899055b15a5
- https://git.kernel.org/stable/c/49675f7bc0e1ae12a60f6af5cb2b800eb39fe055
- https://git.kernel.org/stable/c/aaf8a64a3fbf745eddea729fe27c6e22f4a009e2
- https://git.kernel.org/stable/c/d4a52e78378a501ae38f676e85a60a2a6c21af35
- https://git.kernel.org/stable/c/68f410faedaf6ee74d81e574733c50ebcc1bd8ed