CVE-2022-49965: drm/amd/pm: add missing ->fini_xxxx interfaces for some SMU13 asics
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/pm: add missing ->fini_xxxx interfaces for some SMU13 asics
Without these, potential memory leak may be induced.
The Linux kernel CVE team has assigned CVE-2022-49965 to this issue.
Affected and fixed versions
===========================
Fixed in 5.19.7 with commit 22a75c616f1971c23838506b14971a4ef4a66bd7 Fixed in 6.0 with commit 4bac1c846eff8042dd59ddecd0a43f3b9de5fd23
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-49965
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/smu13/smu_v13_0_0_ppt.c drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_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/22a75c616f1971c23838506b14971a4ef4a66bd7 https://git.kernel.org/stable/c/4bac1c846eff8042dd59ddecd0a43f3b9de5fd23