CVE-2026-43362: smb: client: fix in-place encryption corruption in SMB2_write()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix in-place encryption corruption in SMB2write()
SMB2write() places write payload in iov[1..n] as part of rqiov. smb3inittransformrq() pointer-shares rqiov, so cryptmessage() encrypts iov[1] in-place, replacing the original plaintext with ciphertext. On a replayable error, the retry sends the same iov[1] which now contains ciphertext instead of the original data, resulting in corruption.
The corruption is most likely to be observed when connections are unstable, as reconnects trigger write retries that re-send the already-encrypted data.
This affects SFU mknod, MF symlinks, etc. On kernels before 6.10 (prior to the netfs conversion), sync writes also used this path and were similarly affected. The async write path wasn't unaffected as it uses rqiter which gets deep-copied.
Fix by moving the write payload into rqiter via ioviterkvec(), so smb3inittransformrq() deep-copies it before encryption.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43362?
CVE-2026-43362 is classified as a medium severity vulnerability due to the potential for data corruption during in-place encryption.
How do I fix CVE-2026-43362?
To fix CVE-2026-43362, update your Linux kernel to version 6.10 or later, which contains the necessary patches.
Which versions of the Linux kernel are affected by CVE-2026-43362?
CVE-2026-43362 affects versions of the Linux kernel up to but not including 6.10.
What type of vulnerability is CVE-2026-43362?
CVE-2026-43362 is a client-side vulnerability in the SMB2_write() function that leads to encryption corruption.
What are the potential consequences of CVE-2026-43362?
The potential consequences of CVE-2026-43362 include data integrity issues and possible corruption of data when using SMB2 encryption.