Skip to content
Heist/ feed
High

crypto: tegra - fix rctx->cryptlen calculation in tegra_gcm_do_one_req()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: crypto: tegra - fix rctx->cryptlen calculation in tegra_gcm_do_one_req() Perform rctx->cryptlen calculation in tegra_gcm_do_one_req() the same way it is done in tegra_ccm_crypt_init(). The current formulae may lead to a crash if a caller does not call tegra_gcm_setauthsize() and so ctx->authsize remains zero. Then a decrypt operation with incorrect rctx->cryptlen will lead to a write beyound rctx->dst_sg buffer. As a follow-up cleanup delete struct tegra_aead_ctx->authsize field since it appears to be completely unused. Also simplify tegra_ccm_setauthsize() and tegra_gcm_setauthsize() functions respectively.

Announced Source revision 1
Original source ↗

CVE-2026-80522

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-80522

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": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
        "lessThan": "cd6991001bf0681ed0bcf21f9cc3d261d749b2bb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
        "lessThan": "99a18e1d979e0fad3aaf9c65ae6696897c1d9869",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
        "lessThan": "c6237834d9994de209cb90c7a2c461247bce8e90",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
        "lessThan": "360f2974fcea49c61f6d6f81554741a9eeee7168",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/crypto/tegra/tegra-se-aes.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.10",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.105",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.46",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.10",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/crypto/tegra/tegra-se-aes.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-80522

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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