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 1020F330675 for ; Wed, 24 Jun 2026 16:41:14 +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=1782319275; cv=none; b=p4yDmj8G3KXvvD6YiiN5oKJkjU3w8gXbhj1rXVPYq3KVsPLKVVi++4uFoPfbKEOuWAzBUmLZuKucpnFjSUVKNUpl4YjpaXRzyjBM7DAtMKJXwQENYn1iUsToybUjeKvRFbdYinQRqoHpXVdJ4VoQo2wHaemX7ZPWYfAFKBQ1doU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319275; c=relaxed/simple; bh=VeHk+KibbCA/sIfmiAR0Zbqr88cvZdGFnww6Qp+4QRk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LUWXNtX5TtHbJIAifNgh9ISR1Xgb/BN9r/TbA67q+H56wFD8OGBY0tIJYpy72ll+7uHUvk1tDS7htxA3b+StfTRHmXZciQedH1nfjUPEm/Ii5lcFz+ezHqBTy3BReu7p5b2ciDx7lp4/HEaycl+FVBQyOjGGtF4KHGLFUGuzixA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J1Q9kKDY; 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="J1Q9kKDY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A7521F000E9; Wed, 24 Jun 2026 16:41:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319274; bh=K4KI5TC09eUfuElD15Je68YDkbXYjofB1uVo/CEYwxs=; h=From:To:Cc:Subject:Date:Reply-To; b=J1Q9kKDYkn7kCMTav7EDqcyp+GqXuZYxSJBdoCXNNDlSysUEj/aJhjXfQ+30CtgO9 zo/ifnlBdWd25DrI/j3Ejtcx3Er6jLexyBx76cEW05bV4t7iJulW4ncjtk8qIuAxnK MsQhU0dyJC5fIKXh/UVAAcUs3mwtPwUVGo8aZIBA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53121: amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init() Date: Wed, 24 Jun 2026 17:32:25 +0100 Message-ID: <2026062416-CVE-2026-53121-f105@gregkh> X-Mailer: git-send-email 2.54.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=2424; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B15vyW3aEc8fjG567dQKE+lonEIm8m+2doObbuGHkBU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bBIzhV562J9hndGg7L15wf951xubz0ve+aa07HOA9 xPV7CfxHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRpN0MC6bbCssnF3c9Mf11 Jacj5W9AfNvibIYFjW5qy6KXfPp1XmCv8/74BTVSs/k0AA== 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: amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init() On failure to set the epp, the function amd_pstate_epp_cpu_init() returns with an error code without freeing the cpudata object that was allocated at the beginning of the function. Ensure that the cpudata object is freed before returning from the function. This memory leak was discovered by Claude Opus 4.6 with the aid of Chris Mason's AI review-prompts (https://github.com/masoncl/review-prompts/tree/main/kernel). The Linux kernel CVE team has assigned CVE-2026-53121 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec and fixed in 6.18.33 with commit 539aabbab190825c77eb455ec35652cb3720625f Issue introduced in 6.14 with commit f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec and fixed in 7.0.10 with commit 7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b Issue introduced in 6.14 with commit f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec and fixed in 7.1 with commit beda3b363546a423e4e29a7395e04c0ac4ff677e 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-53121 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/cpufreq/amd-pstate.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/539aabbab190825c77eb455ec35652cb3720625f https://git.kernel.org/stable/c/7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b https://git.kernel.org/stable/c/beda3b363546a423e4e29a7395e04c0ac4ff677e