ksmbd: prevent stale data from being written by SMB2 WRITE requests

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

ProductVersions
Linux Linux61e043326e72b5abb02b5bc9132f2620a7faf8c5 to before 6a64849ea35b5eb247e8bbb60bb03d1a181223c3 Affectedaf7335a4b946f9f6f9d98398cbcea15cd9850409 to before 344cc4368b1e29620a004dd36738537f464ef426 Affected443d61d1fa9faa60ef925513d83742902390100f to before 0f05dc524e8154f4aead793d4b3f58af3d32c66e Affected443d61d1fa9faa60ef925513d83742902390100f to before 139e8a3d6edd0c5b5dfe4ada2f636146e1209dc3 Affected443d61d1fa9faa60ef925513d83742902390100f to before fbe9fcda7ae8835b454c376de1d49232ab6bbcfb Affected443d61d1fa9faa60ef925513d83742902390100f to before 97d489f68b85a5b64496e01d4cb3c0e092aa817e Affected443d61d1fa9faa60ef925513d83742902390100f to before bc0e0f5ac1d7b044d403f859406b4b66d4b1ce9b Affected778aae5a513ea09aa5addfa352bd70a5b71dda85 Affected5.15.113 to before 5.15.226 Affected6.1.30 to before 6.1.193 Affected6.3.4 to before 6.4 Affected
Linux Linux6.4 Affectedbefore 6.4 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.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.