CVE-2022-49966: drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid
To avoid any potential memory leak.
The Linux kernel CVE team has assigned CVE-2022-49966 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.141 with commit 60d522f317078381ff8a3599fe808f96fc256cd5 Fixed in 5.15.65 with commit a89e753d5a9f3b321f4a3098e2755c5aabcff0af Fixed in 5.19.7 with commit 4d21584ac6392aa66171b7efd647ecd1a447556b Fixed in 6.0 with commit 0a2d922a5618377cdf8fa476351362733ef55342
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-2022-49966
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/smu11/sienna_cichlid_ppt.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/60d522f317078381ff8a3599fe808f96fc256cd5 https://git.kernel.org/stable/c/a89e753d5a9f3b321f4a3098e2755c5aabcff0af https://git.kernel.org/stable/c/4d21584ac6392aa66171b7efd647ecd1a447556b https://git.kernel.org/stable/c/0a2d922a5618377cdf8fa476351362733ef55342