[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022629-CVE-2021-4453-a1d6@gregkh>
Date: Wed, 26 Feb 2025 03:18:30 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2021-4453: drm/amd/pm: fix a potential gpu_metrics_table memory leak
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
Powered by blists - more mailing lists