Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36430125D6 for ; Thu, 1 May 2025 14:11:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108718; cv=none; b=TxfyoPuljEqzGJNxNhyW0lPUc8gsLeS8BISfkvBk2BjZ+QX8uEbeBtMFCoEIRsfcI6ZrWcf6VLpeSF3CU2ZsjwW5HB6ssEXiTbmVcz7fkbpyJj1hnVgMGB+RpW8QRmgXc4guOqdwTIBts4fg+TGRqJ/Fy8lJ7SKlwCEO9nmZoWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108718; c=relaxed/simple; bh=Or0mCk0rvDo0HmGZMRsyWaFPHbjaaDG5cU/xKY6dp8U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HfK8BN9auj2cEGzWbCtmS1vYsJwn7o4dw96zgnmDsD95B5M4NdwOoNAk7kKuQuP+c05SrXo50cZz6he4vKhX5GH3yrVjPTYDoBb1dT94WeITJdqVkkr7JNWUJdUGn2Wq6zqgGV/WVv+Ny0vahLKPPu4GZMQdtavFU/GHBpAukUg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EfzfrrjF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EfzfrrjF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99ED0C4CEE3; Thu, 1 May 2025 14:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108718; bh=Or0mCk0rvDo0HmGZMRsyWaFPHbjaaDG5cU/xKY6dp8U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EfzfrrjFhsrkyWZ7RRJuJQnxApYPdTi2AKPPEcUTEjrP6V6lKww1EusX/VzR8gap5 I3zW2tCAu4W9zZPE6KF1jc0Cf7I1gs6vPsAlhmpU0iIHRgyfDA1eDrBzTbEw/EgbeF 63FHh26a2NtJqAVHVN7cYFGIkckBoyjqCkJsYNBo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49773: drm/amd/display: Fix optc2_configure warning on dcn314 Date: Thu, 1 May 2025 16:09:23 +0200 Message-ID: <2025050116-CVE-2022-49773-2f2e@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2118; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VBJEFMDi/VlDyomplM/q/dahOloTpcU8Y/I5uW1m0/A=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDT0yvV3Tv4g/tXEpPlbq43av4Fi5lO/Kgz3S0jYnl YQr5zZ3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQcTzHMD+g2z+SStPdLfxNV vsDLxydl85Zwhnn6bq/v2NstfBa/6p/4wa2XOb8vW7oaAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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: 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