Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9A771219A80 for ; Wed, 26 Feb 2025 02:20:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536412; cv=none; b=kQTRFXbCFg39sX01lEqktF+PgHiDX+P3F+dsfST7rO60RqseBRYsXN8qWdgWNJNHtGASyRg/LscmCZMH7VgyIMEujQ1MqydsaY4bPIPqLgxJxJ8utJclH86iJPhIbE9+XdJx76QCmJmsp+NvygpagXEw7st5CUP1z2asDFU1ZIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536412; c=relaxed/simple; bh=y+dwHSDczQ7Dx9++xeu6wGBC3svvtoRZ2e6rFKhVmfk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uhV4QTrnDzTSSqg5d6KhEl4mQkD19rxE3KAlp4wvK08rLsvFl1ENtLtGRgXu0UK8bCFcNkxhHaWTPm8JZK61mCDcnj+5ZGQzTTGj2UqK4m4xwkoIwUqE4XhTRJiGEG6ZLtWNYl82wxXWgDmBUDHwcyztdIYlUdCNTLazkNxMj0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ne3Gstr7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ne3Gstr7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15825C4CEDD; Wed, 26 Feb 2025 02:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536412; bh=y+dwHSDczQ7Dx9++xeu6wGBC3svvtoRZ2e6rFKhVmfk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ne3Gstr7iI4DLz6Ub/3CvZqWZ2YiLpW2SgEPF7dqlJ7QuzV69y70KsjEefIs6m7Tm enxVM+88i/HY14LoBDrduEzaX2AcORDhorzZYjhY3ZfyMAvsI5aGMnDqDudQ1NYmBp JuqOH0Ar0kYHf8XkO3uoW7aKg2gfb5RZ9FxayArg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-4453: drm/amd/pm: fix a potential gpu_metrics_table memory leak Date: Wed, 26 Feb 2025 03:18:30 +0100 Message-ID: <2025022629-CVE-2021-4453-a1d6@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2145; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=y+dwHSDczQ7Dx9++xeu6wGBC3svvtoRZ2e6rFKhVmfk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Kr8Gb9+UaPIrfb//C8HJGtcFSuR3NNTEeLmzbShR/ /3t5qR5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRBxEM87TKpTrOvNVeMPfx 1L61c1IqzoS902eYZ3Iw48wNPo7DbscNdfl3hN9auuL7aQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix a potential gpu_metrics_table memory leak Memory is allocated for gpu_metrics_table in renoir_init_smc_tables(), but not freed in int smu_v12_0_fini_smc_tables(). Free it! The Linux kernel CVE team has assigned CVE-2021-4453 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 95868b85764aff2dcbf78d3054076df75446ad15 and fixed in 5.10.88 with commit 222cebd995cdf11fe0d502749560f65e64990e55 Issue introduced in 5.10 with commit 95868b85764aff2dcbf78d3054076df75446ad15 and fixed in 5.15.11 with commit 257b3bb16634fd936129fe2f57a91594a75b8751 Issue introduced in 5.10 with commit 95868b85764aff2dcbf78d3054076df75446ad15 and fixed in 5.16 with commit aa464957f7e660abd554f2546a588f6533720e21 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-2021-4453 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/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.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/222cebd995cdf11fe0d502749560f65e64990e55 https://git.kernel.org/stable/c/257b3bb16634fd936129fe2f57a91594a75b8751 https://git.kernel.org/stable/c/aa464957f7e660abd554f2546a588f6533720e21