Skip to contentSkip to conversation

CVE-2023-53505: clk: tegra: tegra124-emc: Fix potential memory leak

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 1, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

clk: tegra: tegra124-emc: Fix potential memory leak

The tegra and tegra needs to be freed in the error handling path, otherwise it will be leaked.

The Linux kernel CVE team has assigned CVE-2023-53505 to this issue.

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

	Issue introduced in 4.2 with commit 2db04f16b589c6c96bd07df3f1ef8558bfdb6810 and fixed in 5.4.251 with commit 801c8341f7aff07c494b53e627970b72635af5d3
	Issue introduced in 4.2 with commit 2db04f16b589c6c96bd07df3f1ef8558bfdb6810 and fixed in 5.10.188 with commit 404e9f741acfb188212f7142d91e247630dd77cc
	Issue introduced in 4.2 with commit 2db04f16b589c6c96bd07df3f1ef8558bfdb6810 and fixed in 5.15.121 with commit fd1c117bb5d7e033bf1aa25ac97ff421f81a1199
	Issue introduced in 4.2 with commit 2db04f16b589c6c96bd07df3f1ef8558bfdb6810 and fixed in 6.1.39 with commit 96bafece6ff380138896f009141fd7337070e680
	Issue introduced in 4.2 with commit 2db04f16b589c6c96bd07df3f1ef8558bfdb6810 and fixed in 6.3.13 with commit e969c144d908ea9387442659f103d374c8ff682d
	Issue introduced in 4.2 with commit 2db04f16b589c6c96bd07df3f1ef8558bfdb6810 and fixed in 6.4.4 with commit 4e59e355f9fcccd9edf65d09f769bb4c163a1c36
	Issue introduced in 4.2 with commit 2db04f16b589c6c96bd07df3f1ef8558bfdb6810 and fixed in 6.5 with commit 53a06e5924c0d43c11379a08c5a78529c3e61595

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-2023-53505

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/clk/tegra/clk-tegra124-emc.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/801c8341f7aff07c494b53e627970b72635af5d3
	https://git.kernel.org/stable/c/404e9f741acfb188212f7142d91e247630dd77cc
	https://git.kernel.org/stable/c/fd1c117bb5d7e033bf1aa25ac97ff421f81a1199
	https://git.kernel.org/stable/c/96bafece6ff380138896f009141fd7337070e680
	https://git.kernel.org/stable/c/e969c144d908ea9387442659f103d374c8ff682d
	https://git.kernel.org/stable/c/4e59e355f9fcccd9edf65d09f769bb4c163a1c36
	https://git.kernel.org/stable/c/53a06e5924c0d43c11379a08c5a78529c3e61595