ksmbd: prevent stale data from being written by SMB2 WRITE requests
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.4, Kernel 139e8a3d6edd0c5b5dfe4ada2f636146e1209dc3, Kernel 97d489f68b85a5b64496e01d4cb3c0e092aa817e and 7 more.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent stale data from being written by SMB2 WRITE requests Initialize the compatibility byte in request buffers without zeroing the entire allocation. Keep the one-byte compatibility exception for SMB2 messages so valid zero-length WRITE requests remain compatible, and validate the data range in the WRITE handlers against the current compound request before accessing it. This prevents stale request-buffer data from being written to files or sent to IPC pipes.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.3.4 <6.4, >=443d61d1fa9faa60ef925513d83742902390100f <139e8a3d6edd0c5b5dfe4ada2f636146e1209dc3, >=443d61d1fa9faa60ef925513d83742902390100f <97d489f68b85a5b64496e01d4cb3c0e092aa817e, >=443d61d1fa9faa60ef925513d83742902390100f <bc0e0f5ac1d7b044d403f859406b4b66d4b1ce9b, >=443d61d1fa9faa60ef925513d83742902390100f <fbe9fcda7ae8835b454c376de1d49232ab6bbcfb, >=5.15.113 <5.16, >=6.1.30 <6.2, =6.4, =61e043326e72b5abb02b5bc9132f2620a7faf8c5, =778aae5a513ea09aa5addfa352bd70a5b71dda85, =af7335a4b946f9f6f9d98398cbcea15cd9850409 | 6.4, 139e8a3d6edd0c5b5dfe4ada2f636146e1209dc3, 97d489f68b85a5b64496e01d4cb3c0e092aa817e, bc0e0f5ac1d7b044d403f859406b4b66d4b1ce9b, fbe9fcda7ae8835b454c376de1d49232ab6bbcfb, 5.16, 6.2 |
| linux-kernel: Kernel | >=6.1.30 <6.2, >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=6.3.4 <6.4, >=6.4.0 <6.12.117, >=5.15.113 <5.16 | 6.2, 6.18.61, 7.3.2, 6.4, 6.12.117, 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