{"id":"CVE-2026-80522","summary":"crypto: tegra - fix rctx-\u003ecryptlen calculation in tegra_gcm_do_one_req()","details":"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.","modified":"2026-08-28T03:47:28.898291366Z","published":"2026-08-26T14:37:03.180Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80522.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/360f2974fcea49c61f6d6f81554741a9eeee7168"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99a18e1d979e0fad3aaf9c65ae6696897c1d9869"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6237834d9994de209cb90c7a2c461247bce8e90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd6991001bf0681ed0bcf21f9cc3d261d749b2bb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80522.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80522"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0880bb3b00c855fc244b7177ffdaafef4d0aa1e0"},{"fixed":"cd6991001bf0681ed0bcf21f9cc3d261d749b2bb"},{"fixed":"99a18e1d979e0fad3aaf9c65ae6696897c1d9869"},{"fixed":"c6237834d9994de209cb90c7a2c461247bce8e90"},{"fixed":"360f2974fcea49c61f6d6f81554741a9eeee7168"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80522.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.105"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80522.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}