ksmbd: wait for negotiation before receiving another PDU
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d4a52e78378a501ae38f676e85a60a2a6c21af35, Kernel 5.16, Kernel 6.2 and 9 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=dc8289f912387c3bcfbc5d2db29c8947fa207c11 <d4a52e78378a501ae38f676e85a60a2a6c21af35, >=5.15.145 <5.16, >=6.1.24 <6.2, >=6.2.11 <6.3, >=dc8289f912387c3bcfbc5d2db29c8947fa207c11 <49675f7bc0e1ae12a60f6af5cb2b800eb39fe055, >=dc8289f912387c3bcfbc5d2db29c8947fa207c11 <68f410faedaf6ee74d81e574733c50ebcc1bd8ed, >=dc8289f912387c3bcfbc5d2db29c8947fa207c11 <a9039d6c9de5dfd91f360b085da75899055b15a5, >=dc8289f912387c3bcfbc5d2db29c8947fa207c11 <aaf8a64a3fbf745eddea729fe27c6e22f4a009e2, =6.3, =921536046bd165efeb07beef5630aff35cd6a489, =99a51c673b1d2d0b5a972353401b77612d9cc713, =a8334a0c535d0f0b4d64926c8fe0922ed98f7d43 | d4a52e78378a501ae38f676e85a60a2a6c21af35, 5.16, 6.2, 6.3, 49675f7bc0e1ae12a60f6af5cb2b800eb39fe055, 68f410faedaf6ee74d81e574733c50ebcc1bd8ed, a9039d6c9de5dfd91f360b085da75899055b15a5, aaf8a64a3fbf745eddea729fe27c6e22f4a009e2 |
| linux-kernel: Kernel | >=6.1.24 <6.2, >=6.13.0 <6.18.61, >=6.19.0 <7.2.15, >=6.2.11 <6.3, >=6.3.0 <6.12.117, >=7.3.0 <7.3.2, >=5.15.145 <5.16 | 6.2, 6.18.61, 7.2.15, 6.3, 6.12.117, 7.3.2, 5.16 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket