Description
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.
Published: 2026-08-26
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Patch Immediately
AI Analysis

Impact

The Linux kernel tegra crypto driver miscalculates the rctx->cryptlen value when the authentication size is not set by the caller, leading to an out‑of‑bounds write into the destination scatter‑gather buffer. This memory corruption can overwrite critical kernel data and may allow a local attacker to execute arbitrary code or crash the operating system.

Affected Systems

All Linux kernel releases that include the tegra crypto subsystem are vulnerable prior to the upstream fix. The flaw exists in any kernel build that exposes the tegra_gcm_do_one_req() function.

Risk and Exploitability

The CVSS score of 7.8 classifies the vulnerability as high severity. The EPSS score of less than 1% and the fact that it is not listed in the CISA KEV catalog suggest that publicly known exploits are unlikely so far. Exploitation requires a local user to trigger a cryptographic request with an unset authentication size, which is feasible for privileged or compromised users. Successful exploitation could lead to privilege escalation or a denial‑of‑service by corrupting kernel memory.

Generated by OpenCVE AI on August 28, 2026 at 19:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the upstream tegra_gcm_do_one_req() cryptlen fix or apply the specific patch that corrects the calculation and removes the unused authsize field.
  • If a kernel upgrade cannot be performed immediately, cherry‑pick or install the relevant commit from the mainline kernel repository to introduce the corrected rctx->cryptlen implementation.
  • It remains a good practice to ensure that any application using the tegra GCM path calls tegra_gcm_setauthsize() before encryption or decryption so that the authentication size is properly set and the buffer length is correctly computed.
  • If the tegra crypto subsystem is not required, consider disabling it or restricting cryptographic calls to trusted code to reduce exposure.

Generated by OpenCVE AI on August 28, 2026 at 19:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122
CWE-788

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Important


Thu, 27 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122
CWE-788

Thu, 27 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122

Thu, 27 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 26 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title crypto: tegra - fix rctx->cryptlen calculation in tegra_gcm_do_one_req()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-27T05:01:18.823Z

Reserved: 2026-08-26T14:34:25.763Z

Link: CVE-2026-80522

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:05.800

Modified: 2026-08-27T06:17:31.137

Link: CVE-2026-80522

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-26T00:00:00Z

Links: CVE-2026-80522 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T19:30:16Z

Weaknesses