Skip to contentSkip to conversation

CVE-2024-58075: crypto: tegra - do not transfer req when tegra init fails

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 6, 2025

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

crypto: tegra - do not transfer req when tegra init fails

The tegra_cmac_init or tegra_sha_init function may return an error when memory is exhausted. It should not transfer the request when they return an error.

The Linux kernel CVE team has assigned CVE-2024-58075 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.10 with commit 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 and fixed in 6.12.13 with commit 1dbc270f9df7f0ae1e591323431869059cee1b7d
	Issue introduced in 6.10 with commit 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 and fixed in 6.13.2 with commit 5eaa7c916e1ec4b122a1c3a8a20e692d9d9e174e
	Issue introduced in 6.10 with commit 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 and fixed in 6.14-rc1 with commit 15589bda46830695a3261518bb7627afac61f519

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-2024-58075

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
drivers/crypto/tegra/tegra-se-hash.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/1dbc270f9df7f0ae1e591323431869059cee1b7d
	https://git.kernel.org/stable/c/5eaa7c916e1ec4b122a1c3a8a20e692d9d9e174e
	https://git.kernel.org/stable/c/15589bda46830695a3261518bb7627afac61f519