CVEvulnerability

CVE-2026-43362

8.1 HIGH Published 2026-05-08 Modified 2026-10-19 Official page ↗
Status
Modified
Published
2026-05-08
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Weaknesses
CWE-662, CWE-787

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix in-place encryption corruption in SMB2_write() SMB2_write() places write payload in iov[1..n] as part of rq_iov. smb3_init_transform_rq() pointer-shares rq_iov, so crypt_message() 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 rq_iter which gets deep-copied. Fix by moving the write payload into rq_iter via iov_iter_kvec(), so smb3_init_transform_rq() deep-copies it before encryption.

Affected configurations

• linux linux kernel (>= 4.11 < 6.6.130) • linux linux kernel (>= 6.7 < 6.12.78) • linux linux kernel (>= 6.13 < 6.18.19) • linux linux kernel (>= 6.19 < 6.19.9) • linux linux kernel 7.0

Related

Weakness · CWE (2)

  • CWE-662 Improper Synchronization weakness
  • CWE-787 Out-of-bounds Write weakness

References