ksmbd: wait for negotiation before receiving another PDU
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 921536046bd165efeb07beef5630aff35cd6a489 to before 0152126adb40f1ca21caf1e4616f526f142caf7a Affecteda8334a0c535d0f0b4d64926c8fe0922ed98f7d43 to before f60dc56df21d6edbca1df537f8a667439990ae50 Affecteddc8289f912387c3bcfbc5d2db29c8947fa207c11 to before 99bddd24baaf4c92060beebbf7e7561ff9ff8bc4 Affecteddc8289f912387c3bcfbc5d2db29c8947fa207c11 to before a9039d6c9de5dfd91f360b085da75899055b15a5 Affecteddc8289f912387c3bcfbc5d2db29c8947fa207c11 to before 49675f7bc0e1ae12a60f6af5cb2b800eb39fe055 Affecteddc8289f912387c3bcfbc5d2db29c8947fa207c11 to before aaf8a64a3fbf745eddea729fe27c6e22f4a009e2 Affecteddc8289f912387c3bcfbc5d2db29c8947fa207c11 to before d4a52e78378a501ae38f676e85a60a2a6c21af35 Affecteddc8289f912387c3bcfbc5d2db29c8947fa207c11 to before 68f410faedaf6ee74d81e574733c50ebcc1bd8ed Affected99a51c673b1d2d0b5a972353401b77612d9cc713 Affected5.15.145 to before 5.15.226 Affected6.1.24 to before 6.1.193 Affected6.2.11 to before 6.3 Affected |
| Linux Linux | 6.3 Affectedbefore 6.3 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.2.15 through 7.2.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/0152126adb40f1ca21caf1e4616f526f142caf7a
- https://git.kernel.org/stable/c/f60dc56df21d6edbca1df537f8a667439990ae50
- https://git.kernel.org/stable/c/99bddd24baaf4c92060beebbf7e7561ff9ff8bc4
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.