{"id":"CVE-2026-43362","aliases":["CVE-2026-43362"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix in-place encryption corruption in SMB2_write()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix in-place encryption corruption in SMB2_write()\n\nSMB2_write() places write payload in iov[1..n] as part of rq_iov.\nsmb3_init_transform_rq() pointer-shares rq_iov, so crypt_message()\nencrypts iov[1] in-place, replacing the original plaintext with\nciphertext. On a replayable error, the retry sends the same iov[1]\nwhich now contains ciphertext instead of the original data,\nresulting in corruption.\n\nThe corruption is most likely to be observed when connections are\nunstable, as reconnects trigger write retries that re-send the\nalready-encrypted data.\n\nThis affects SFU mknod, MF symlinks, etc. On kernels before\n6.10 (prior to the netfs conversion), sync writes also used\nthis path and were similarly affected. The async write path\nwasn't unaffected as it uses rq_iter which gets deep-copied.\n\nFix by moving the write payload into rq_iter via iov_iter_kvec(),\nso smb3_init_transform_rq() deep-copies it before encryption.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix in-place encryption corruption in SMB2_write()\n\nSMB2_write() places write payload in iov[1..n] as part of rq_iov.\nsmb3_init_transform_rq() pointer-shares rq_iov, so crypt_message()\nencrypts iov[1] in-place, replacing the original plaintext with\nciphertext. On a replayable error, the retry sends the same iov[1]\nwhich now contains ciphertext instead of the original data,\nresulting in corruption.\n\nThe corruption is most likely to be observed when connections are\nunstable, as reconnects trigger write retries that re-send the\nalready-encrypted data.\n\nThis affects SFU mknod, MF symlinks, etc. On kernels before\n6.10 (prior to the netfs conversion), sync writes also used\nthis path and were similarly affected. The async write path\nwasn't unaffected as it uses rq_iter which gets deep-copied.\n\nFix by moving the write payload into rq_iter via iov_iter_kvec(),\nso smb3_init_transform_rq() deep-copies it before encryption.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsmb: cliente: corregir la corrupción del cifrado in situ en SMB2_write()\n\nSMB2_write() coloca la carga útil de escritura en iov[1..n] como parte de rq_iov. smb3_init_transform_rq() comparte punteros de rq_iov, por lo que crypt_message() cifra iov[1] in situ, reemplazando el texto plano original con texto cifrado. En un error reproducible, el reintento envía el mismo iov[1] que ahora contiene texto cifrado en lugar de los datos originales, lo que resulta en corrupción.\n\nEs más probable que la corrupción se observe cuando las conexiones son inestables, ya que las reconexiones desencadenan reintentos de escritura que reenvían los datos ya cifrados.\n\nEsto afecta a SFU mknod, MF symlinks, etc. En kernels anteriores a 6.10 (antes de la conversión a netfs), las escrituras síncronas también usaban esta ruta y se vieron afectadas de manera similar. La ruta de escritura asíncrona no se vio afectada ya que utiliza rq_iter, que se copia en profundidad.\n\nSolución moviendo la carga útil de escritura a rq_iter a través de iov_iter_kvec(), para que smb3_init_transform_rq() la copie en profundidad antes del cifrado.","source":"nvd"}],"published":"2026-05-08T14:21:16.358Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-662","CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398","fixed":"438e77435aee2894d5edf90be5c87004a57f6258","status":"affected"},{"type":"git","introduced":"026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398","fixed":"52327268224fb9ccc7ecfbbdfdfff54b6e93c518","status":"affected"},{"type":"git","introduced":"026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398","fixed":"92e64f1852f455f57d0850989e57c30d7fac7d95","status":"affected"},{"type":"git","introduced":"026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398","fixed":"aea5e37388a080361110ab5790f57ae0af383650","status":"affected"},{"type":"git","introduced":"026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398","fixed":"d78840a6a38d312dc1a51a65317bb67e46f0b929","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.11","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/438e77435aee2894d5edf90be5c87004a57f6258","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52327268224fb9ccc7ecfbbdfdfff54b6e93c518","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92e64f1852f455f57d0850989e57c30d7fac7d95","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aea5e37388a080361110ab5790f57ae0af383650","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d78840a6a38d312dc1a51a65317bb67e46f0b929","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T15:16:41.304Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43362","url":"https://www.cve.org/CVERecord?id=CVE-2026-43362","licence":"CVE Terms of Use","modified":"2026-10-19T19:16:27.315Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43362","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43362","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.029Z","epss":{"score":0.00258,"percentile":0.18642,"date":"2026-12-01T12:00:22.000Z"}}