| From bippy-1.1.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-49773: drm/amd/display: Fix optc2_configure warning on dcn314 |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/amd/display: Fix optc2_configure warning on dcn314 |
| |
| [Why] |
| dcn314 uses optc2_configure_crc() that wraps |
| optc1_configure_crc() + set additional registers |
| not applicable to dcn314. |
| It's not critical but when used leads to warning like: |
| WARNING: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c |
| Call Trace: |
| <TASK> |
| generic_reg_set_ex+0x6d/0xe0 [amdgpu] |
| optc2_configure_crc+0x60/0x80 [amdgpu] |
| dc_stream_configure_crc+0x129/0x150 [amdgpu] |
| amdgpu_dm_crtc_configure_crc_source+0x5d/0xe0 [amdgpu] |
| |
| [How] |
| Use optc1_configure_crc() directly |
| |
| The Linux kernel CVE team has assigned CVE-2022-49773 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 6.0.10 with commit f67ef5aa88e3db0a13ae3befab2ddf14ac00a91c |
| Fixed in 6.1 with commit e7e4f77c991c9abf90924929a9d55f90b0bb78de |
| |
| 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-49773 |
| 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/display/dc/dcn314/dcn314_optc.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/f67ef5aa88e3db0a13ae3befab2ddf14ac00a91c |
| https://git.kernel.org/stable/c/e7e4f77c991c9abf90924929a9d55f90b0bb78de |