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 738591AB514 for ; Thu, 20 Jun 2024 11:18:34 +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=1718882314; cv=none; b=IKUyU9lyXm57b1An6eKMcEyi28pw2ioYUT0YTSE37MNjIDR/JTO4EjW3hvM4BgCZ4xqftwgk+uvyiRt6eeGvQUksyLEnvloIKvO2D3gL5ZhkTKr+ro9HcqBENPW8yIObAaAao9V0C3j0WzrCSsLpN1GYTTa1xBmQG7HqS+bLjcA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718882314; c=relaxed/simple; bh=hiYvh2KP7/pSKBqBaTgsOSfj5pwXE9WOtWBc5bdRsI4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cf5225z+s7MV2h9sHdiEnYBkJDOOaBkN5kX3If3+plZykreDy7lmtTsgTWSUhvPZ05tERfl1Jl7+fZQBSc9cjTGzxtqCsJ5jRmLB5zhRs1pEDXsD5j2DgH+0mBFlwJMTd8KHjbusccvh1XIHcmR9bnAaeOcHJxrh/H5MdTmUbM4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IBjdqksx; 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="IBjdqksx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D986C2BD10; Thu, 20 Jun 2024 11:18:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718882314; bh=hiYvh2KP7/pSKBqBaTgsOSfj5pwXE9WOtWBc5bdRsI4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IBjdqksxA8m5TkZ4Uv/7gR4ihVMEpthK0ldmGZUsUYrYySwF65qpaLv30iz/3U7S5 E94JMhSqfZ5Mlmw6ykTKLgz2XxTTyxhjoRlaMuXx07relixuRqiOyH9jPBVxLt54hC HBDNXvwpG/mgaKKLXypMKNvDmGaaWCM5gQiJgIrw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48766: drm/amd/display: Wrap dcn301_calculate_wm_and_dlg for FPU. Date: Thu, 20 Jun 2024 13:16:46 +0200 Message-ID: <2024062010-CVE-2022-48766-3b8e@gregkh> X-Mailer: git-send-email 2.45.2 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=1779; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hiYvh2KP7/pSKBqBaTgsOSfj5pwXE9WOtWBc5bdRsI4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkl/FWrGDdpzBP7+na19Ufe29zJtUdO/GqNn74ur/eBr X2WRY5eRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEZA7DPNu/63V8T2fXHjzf mnrx0bIN6oJOTgwLpuz3fTp558EtS2w2W6Tt+fEmukqTEwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Wrap dcn301_calculate_wm_and_dlg for FPU. Mirrors the logic for dcn30. Cue lots of WARNs and some kernel panics without this fix. The Linux kernel CVE team has assigned CVE-2022-48766 to this issue. Affected and fixed versions =========================== Fixed in 5.16.5 with commit 456ba2433844 Fixed in 5.17 with commit 25f1488bdbba 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-48766 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/dcn301/dcn301_resource.c drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.c drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.h 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/456ba2433844a6483cc4c933aa8f43d24575e341 https://git.kernel.org/stable/c/25f1488bdbba63415239ff301fe61a8546140d9f