Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-43362

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-43362

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398",
        "lessThan": "438e77435aee2894d5edf90be5c87004a57f6258",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398",
        "lessThan": "52327268224fb9ccc7ecfbbdfdfff54b6e93c518",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398",
        "lessThan": "92e64f1852f455f57d0850989e57c30d7fac7d95",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398",
        "lessThan": "aea5e37388a080361110ab5790f57ae0af383650",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398",
        "lessThan": "d78840a6a38d312dc1a51a65317bb67e46f0b929",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/smb/client/smb2pdu.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.130",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.78",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.19",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.9",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/smb/client/smb2pdu.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-43362

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#40064 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement