Bug 2363477 (CVE-2022-49773) - CVE-2022-49773 kernel: drm/amd/display: Fix optc2_configure warning on dcn314
Summary: CVE-2022-49773 kernel: drm/amd/display: Fix optc2_configure warning on dcn314
Keywords:
Status: NEW
Alias: CVE-2022-49773
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:06 UTC by OSIDB Bzimport
Modified: 2025-05-02 05:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:06:14 UTC
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

Comment 1 Avinash Hanwate 2025-05-02 05:22:42 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050116-CVE-2022-49773-2f2e@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.