Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86A97440A25 for ; Wed, 26 Aug 2026 14:38:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755091; cv=none; b=SMi5MAuOJy99SDVyDXaQqq4O4DzEvFsSewaVImNX/YZSLgmxIZNrEN1eaGK61fGLpjcI6Pm4HUtrVrIFrZay12aheYq+PSmP1+9wHyT0yA/9r9Gt0uUWSr1exVm7JIuCuhou+tkyXorPDpj3VaVGqEY6IBha/8PByk76a56iOXI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755091; c=relaxed/simple; bh=Wgk7mlJ6ZQFMZdwXLOZFAwMcgWNe96YIjTKGow27C4U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=upCWsHvF8Mf5riS5m0KWt+Y8zmMtWqK+8mJ6D/1gO/bOeir/UXePGsSWb30C7u8H2/Mh7NxC/j4k5QzXf5U9IczFxJhBlRjNz4WiJ9A9Fxp3NghSh1KOXxZpU7toCEOhUUKrMr88NwWvaJMbsB5J1lFMtg5QdRsR9jXhO2LGJOU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kihOKfgi; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kihOKfgi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C4281F000E9; Wed, 26 Aug 2026 14:38:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755090; bh=Ib4raHf1GHz4LRMW+2jvAzb//IVbx1JV9t3vjuGITnI=; h=From:To:Cc:Subject:Date:Reply-To; b=kihOKfgiAXD5ut+Ex8nzgrZe0x9C8OxFQ5DU9x40o2X+1tTxcMddMjwI+Xwvcs3Rp twoi6a9s6xlu60TAbMzJ7r5f8FRt63uovG7OIUBdhYA2MODfIdQewzO1wzgoR9/ZUj pexOSPA5Px5ykd0UMYYPAFAJlj1NBBOh1QttYtfk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80522: crypto: tegra - fix rctx->cryptlen calculation in tegra_gcm_do_one_req() Date: Wed, 26 Aug 2026 16:37:18 +0200 Message-ID: <2026082601-CVE-2026-80522-a340@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2800; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7gE0vY8aHOBZiRyzWSMV01M7fdzv/icWOywre4tzvcM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v3gPPdcov+C2tJuLf2GauIvCktnPjATd38/UMVymZ fpG+Mf6jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIzUCGeQpce2SX/z9lfevh VDmrbv7p3ELiexjmil27XJCTLfYwl/n+NUdfvYySf2ccAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-80522 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 and fixed in 6.12.105 with commit cd6991001bf0681ed0bcf21f9cc3d261d749b2bb Issue introduced in 6.10 with commit 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 and fixed in 6.18.46 with commit 99a18e1d979e0fad3aaf9c65ae6696897c1d9869 Issue introduced in 6.10 with commit 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 and fixed in 7.1.10 with commit c6237834d9994de209cb90c7a2c461247bce8e90 Issue introduced in 6.10 with commit 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 and fixed in 7.2 with commit 360f2974fcea49c61f6d6f81554741a9eeee7168 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80522 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/crypto/tegra/tegra-se-aes.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/cd6991001bf0681ed0bcf21f9cc3d261d749b2bb https://git.kernel.org/stable/c/99a18e1d979e0fad3aaf9c65ae6696897c1d9869 https://git.kernel.org/stable/c/c6237834d9994de209cb90c7a2c461247bce8e90 https://git.kernel.org/stable/c/360f2974fcea49c61f6d6f81554741a9eeee7168