smb: client: fix in-place encryption corruption in SMB2_write() (Linux Linux)

CVE-2026-43362
HIGH 8.1

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 17 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-662 — Improper Synchronization
  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398 < 438e77435aee2894d5edf90be5c87004a57f6258 ; affected 026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398 < 52327268224fb9ccc7ecfbbdfdfff54b6e93c518 ; affected 026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398 < 92e64f1852f455f57d0850989e57c30d7fac7d95 ; affected 026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398 < aea5e37388a080361110ab5790f57ae0af383650 ; affected 026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398 < d78840a6a38d312dc1a51a65317bb67e46f0b929
Linux · Linuxaffected 4.11 ; unaffected 0 < 4.11 ; unaffected 6.6.130 ≤ 6.6.* ; unaffected 6.12.78 ≤ 6.12.* ; unaffected 6.18.19 ≤ 6.18.* ; unaffected 6.19.9 ≤ 6.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD