Linux Kernel ksmbd Negotiation Race Condition Leads to Buffer Over-read
CVE-2026-99565 Published on November 19, 2026
ksmbd: wait for negotiation before receiving another PDU
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.
Products Associated with CVE-2026-99565
stack.watch emails you whenever new vulnerabilities are published in Linux Kernel or Canonical Ubuntu Linux. Just hit a watch button to start following.
Affected Versions
Linux:- Version 921536046bd165efeb07beef5630aff35cd6a489 and below 0152126adb40f1ca21caf1e4616f526f142caf7a is affected.
- Version a8334a0c535d0f0b4d64926c8fe0922ed98f7d43 and below f60dc56df21d6edbca1df537f8a667439990ae50 is affected.
- Version dc8289f912387c3bcfbc5d2db29c8947fa207c11 and below 99bddd24baaf4c92060beebbf7e7561ff9ff8bc4 is affected.
- Version dc8289f912387c3bcfbc5d2db29c8947fa207c11 and below a9039d6c9de5dfd91f360b085da75899055b15a5 is affected.
- Version dc8289f912387c3bcfbc5d2db29c8947fa207c11 and below 49675f7bc0e1ae12a60f6af5cb2b800eb39fe055 is affected.
- Version dc8289f912387c3bcfbc5d2db29c8947fa207c11 and below aaf8a64a3fbf745eddea729fe27c6e22f4a009e2 is affected.
- Version dc8289f912387c3bcfbc5d2db29c8947fa207c11 and below d4a52e78378a501ae38f676e85a60a2a6c21af35 is affected.
- Version dc8289f912387c3bcfbc5d2db29c8947fa207c11 and below 68f410faedaf6ee74d81e574733c50ebcc1bd8ed is affected.
- Version 99a51c673b1d2d0b5a972353401b77612d9cc713 is affected.
- Version 5.15.145 and below 5.15.226 is affected.
- Version 6.1.24 and below 6.1.193 is affected.
- Version 6.2.11 and below 6.3 is affected.
- Version 6.3 is affected.
- Before 6.3 is unaffected.
- Version 5.15.226, <= 5.15.* is unaffected.
- Version 6.1.193, <= 6.1.* is unaffected.
- Version 6.6.163, <= 6.6.* is unaffected.
- Version 6.12.117, <= 6.12.* is unaffected.
- Version 6.18.61, <= 6.18.* is unaffected.
- Version 7.2.15, <= 7.2.* is unaffected.
- Version 7.3.2, <= 7.3.* is unaffected.
- Version 7.4-rc1, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.