Skip to contentSkip to conversation

CVE-2023-53096: interconnect: fix mem leak when freeing nodes

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 2, 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:

interconnect: fix mem leak when freeing nodes

The node link array is allocated when adding links to a node but is not deallocated when nodes are destroyed.

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

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

	Issue introduced in 5.1 with commit 11f1ceca7031deefc1a34236ab7b94360016b71d and fixed in 5.4.238 with commit f1e3a20c60196c37a402c584d0c9de306ba988ce
	Issue introduced in 5.1 with commit 11f1ceca7031deefc1a34236ab7b94360016b71d and fixed in 5.10.176 with commit efae80ca13faa94457208852825731da44a788ad
	Issue introduced in 5.1 with commit 11f1ceca7031deefc1a34236ab7b94360016b71d and fixed in 5.15.104 with commit 2e0b13a1827229a02abef97b50ffaf89ba25370a
	Issue introduced in 5.1 with commit 11f1ceca7031deefc1a34236ab7b94360016b71d and fixed in 6.1.21 with commit 3167306455d0fbbbcf08cb25651acc527a86a95e
	Issue introduced in 5.1 with commit 11f1ceca7031deefc1a34236ab7b94360016b71d and fixed in 6.2.8 with commit c1722e4113281fb34e5b4fb5c5387b17cd39a537
	Issue introduced in 5.1 with commit 11f1ceca7031deefc1a34236ab7b94360016b71d and fixed in 6.3 with commit a5904f415e1af72fa8fe6665aa4f554dc2099a95

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-53096

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/interconnect/core.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/f1e3a20c60196c37a402c584d0c9de306ba988ce
	https://git.kernel.org/stable/c/efae80ca13faa94457208852825731da44a788ad
	https://git.kernel.org/stable/c/2e0b13a1827229a02abef97b50ffaf89ba25370a
	https://git.kernel.org/stable/c/3167306455d0fbbbcf08cb25651acc527a86a95e
	https://git.kernel.org/stable/c/c1722e4113281fb34e5b4fb5c5387b17cd39a537
	https://git.kernel.org/stable/c/a5904f415e1af72fa8fe6665aa4f554dc2099a95