CVE-2026-80522 (GCVE-0-2026-80522)
Vulnerability from cvelistv5
Published
2026-08-26 14:37
Modified
2026-10-16 19:26
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0
Version: 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0
Version: 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0
Version: 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-80522",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T19:16:31.536900Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-16T19:26:24.520Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/tegra/tegra-se-aes.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cd6991001bf0681ed0bcf21f9cc3d261d749b2bb",
              "status": "affected",
              "version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
              "versionType": "git"
            },
            {
              "lessThan": "99a18e1d979e0fad3aaf9c65ae6696897c1d9869",
              "status": "affected",
              "version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
              "versionType": "git"
            },
            {
              "lessThan": "c6237834d9994de209cb90c7a2c461247bce8e90",
              "status": "affected",
              "version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
              "versionType": "git"
            },
            {
              "lessThan": "360f2974fcea49c61f6d6f81554741a9eeee7168",
              "status": "affected",
              "version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/tegra/tegra-se-aes.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.105",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.105",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.46",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.10",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: tegra - fix rctx-\u003ecryptlen calculation in tegra_gcm_do_one_req()\n\nPerform rctx-\u003ecryptlen calculation in tegra_gcm_do_one_req() the same way\nit is done in tegra_ccm_crypt_init(). The current formulae may lead to a\ncrash if a caller does not call tegra_gcm_setauthsize() and so ctx-\u003eauthsize\nremains zero. Then a decrypt operation with incorrect rctx-\u003ecryptlen will\nlead to a write beyound rctx-\u003edst_sg buffer.\n\nAs a follow-up cleanup delete struct tegra_aead_ctx-\u003eauthsize field since\nit appears to be completely unused. Also simplify tegra_ccm_setauthsize()\nand tegra_gcm_setauthsize() functions respectively."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The flaw is in the Tegra Security Engine gcm(aes) driver reached via the kernel crypto API (AF_ALG socket syscalls); major network consumers call setauthsize and are not affected, and the driver only exists on Tegra234 platforms with TEGRA_HOST1X.\nAC:L - On affected Tegra systems with tegra-se loaded, an attacker reliably triggers the bug by issuing a GCM decrypt through AF_ALG without calling ALG_SET_AEAD_AUTHSIZE, relying on the default 16-byte tag while ctx-\u003eauthsize remains zero.\nPR:L - Triggering tegra GCM decrypt via AF_ALG requires only an unprivileged local user able to open AF_ALG sockets and bind to gcm(aes); no CAP_SYS_ADMIN, real root, or container-escaping capabilities are needed on standard configurations.\nUI:N - Exploitation requires no victim interaction such as mounting filesystems or opening files; the attacker directly submits crafted decrypt requests through the local crypto interface.\nS:U - Impact is kernel heap/memory corruption and potential privilege escalation within the same kernel security domain; it does not cross VM, container, or IOMMU boundaries.\nC:H - The out-of-bounds write corrupts memory adjacent to the destination scatterlist buffer; such heap corruption can expose kernel pointers or other sensitive data and is rated High per memory-corruption guidance.\nI:H - Decrypt uses an inflated cryptlen so scatterwalk_map_and_copy writes up to 16 bytes beyond the caller-allocated dst_sg buffer with no bounds checking, constituting an exploitable out-of-bounds write primitive.\nA:H - Writing past the destination scatterlist can corrupt adjacent kernel structures and cause kernel oops or panic; the fix commit explicitly describes this as a crash-causing out-of-bounds write condition."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-27T05:01:18.823Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cd6991001bf0681ed0bcf21f9cc3d261d749b2bb"
        },
        {
          "url": "https://git.kernel.org/stable/c/99a18e1d979e0fad3aaf9c65ae6696897c1d9869"
        },
        {
          "url": "https://git.kernel.org/stable/c/c6237834d9994de209cb90c7a2c461247bce8e90"
        },
        {
          "url": "https://git.kernel.org/stable/c/360f2974fcea49c61f6d6f81554741a9eeee7168"
        }
      ],
      "title": "crypto: tegra - fix rctx-\u003ecryptlen calculation in tegra_gcm_do_one_req()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80522",
    "datePublished": "2026-08-26T14:37:03.180Z",
    "dateReserved": "2026-08-26T14:34:25.763Z",
    "dateUpdated": "2026-10-16T19:26:24.520Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-80522\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T19:16:31.536900Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T19:16:32.130Z\"}}], \"cna\": {\"title\": \"crypto: tegra - fix rctx-\u003ecryptlen calculation in tegra_gcm_do_one_req()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The flaw is in the Tegra Security Engine gcm(aes) driver reached via the kernel crypto API (AF_ALG socket syscalls); major network consumers call setauthsize and are not affected, and the driver only exists on Tegra234 platforms with TEGRA_HOST1X.\\nAC:L - On affected Tegra systems with tegra-se loaded, an attacker reliably triggers the bug by issuing a GCM decrypt through AF_ALG without calling ALG_SET_AEAD_AUTHSIZE, relying on the default 16-byte tag while ctx-\u003eauthsize remains zero.\\nPR:L - Triggering tegra GCM decrypt via AF_ALG requires only an unprivileged local user able to open AF_ALG sockets and bind to gcm(aes); no CAP_SYS_ADMIN, real root, or container-escaping capabilities are needed on standard configurations.\\nUI:N - Exploitation requires no victim interaction such as mounting filesystems or opening files; the attacker directly submits crafted decrypt requests through the local crypto interface.\\nS:U - Impact is kernel heap/memory corruption and potential privilege escalation within the same kernel security domain; it does not cross VM, container, or IOMMU boundaries.\\nC:H - The out-of-bounds write corrupts memory adjacent to the destination scatterlist buffer; such heap corruption can expose kernel pointers or other sensitive data and is rated High per memory-corruption guidance.\\nI:H - Decrypt uses an inflated cryptlen so scatterwalk_map_and_copy writes up to 16 bytes beyond the caller-allocated dst_sg buffer with no bounds checking, constituting an exploitable out-of-bounds write primitive.\\nA:H - Writing past the destination scatterlist can corrupt adjacent kernel structures and cause kernel oops or panic; the fix commit explicitly describes this as a crash-causing out-of-bounds write condition.\"}]}], \"affected\": [{\"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\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/cd6991001bf0681ed0bcf21f9cc3d261d749b2bb\"}, {\"url\": \"https://git.kernel.org/stable/c/99a18e1d979e0fad3aaf9c65ae6696897c1d9869\"}, {\"url\": \"https://git.kernel.org/stable/c/c6237834d9994de209cb90c7a2c461247bce8e90\"}, {\"url\": \"https://git.kernel.org/stable/c/360f2974fcea49c61f6d6f81554741a9eeee7168\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: tegra - fix rctx-\u003ecryptlen calculation in tegra_gcm_do_one_req()\\n\\nPerform rctx-\u003ecryptlen calculation in tegra_gcm_do_one_req() the same way\\nit is done in tegra_ccm_crypt_init(). The current formulae may lead to a\\ncrash if a caller does not call tegra_gcm_setauthsize() and so ctx-\u003eauthsize\\nremains zero. Then a decrypt operation with incorrect rctx-\u003ecryptlen will\\nlead to a write beyound rctx-\u003edst_sg buffer.\\n\\nAs a follow-up cleanup delete struct tegra_aead_ctx-\u003eauthsize field since\\nit appears to be completely unused. Also simplify tegra_ccm_setauthsize()\\nand tegra_gcm_setauthsize() functions respectively.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.105\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.46\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.1.10\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.2\", \"versionStartIncluding\": \"6.10\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-27T05:01:18.823Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-80522\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-16T19:26:24.520Z\", \"dateReserved\": \"2026-08-26T14:34:25.763Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-08-26T14:37:03.180Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…