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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-26 15:17
Updated : 2026-08-27 06:17
NVD link : CVE-2026-80522
Mitre link : CVE-2026-80522
CVE.ORG link : CVE-2026-80522
JSON object : View
Products Affected
No product.
CWE
No CWE.
