From mboxrd@z Thu Jan 1 00:00:00 1970 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 759E51B0F23 for ; Wed, 26 Feb 2025 02:01:38 +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=1740535298; cv=none; b=EVqyv9aLU0K77s6H3tZK9IkvNPufZjREBtYElCOQNeZnekohXoSvn88rphffrcRZSUTHb4vTUkbiSgFB511tD/68A/uoik+C0rUGnSQ9hF+V0uDsgBlQJuDjvdD1ODe9kzhorqgOfHcXryRqcbOTOr8djznFp1Y0yx9LoRR8vMg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535298; c=relaxed/simple; bh=MqdViDlt5mCFuztNYxW/hN2CtjFCfM8FTM2FgJMpCVc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bZ8/sN5Htg3H3DOJvLX1PA9RJGMtNwVXCAB7AcVnycG2FjUwRNcm43MVJ/BjB1tZNkcPBPvRnIpo8c3Rh+6C6T+T7Vk3KiPNQj/QY3trZh29QD8WS50IJav4U/PYBZEQ+pmd4wF88GRPnp8YPchLy+3wYRnAkgQrXl6ZUnoRIk0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GtYtXuax; 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="GtYtXuax" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 475CBC4CEDD; Wed, 26 Feb 2025 02:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535298; bh=MqdViDlt5mCFuztNYxW/hN2CtjFCfM8FTM2FgJMpCVc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GtYtXuaxO/GsGtHD4CMh8WsnnBfSXoFtyNFxbxxvQqOAYleic4V7c7/a7Xpq8ejXL 9N0chgkm4YDP8CNEXlDBYYKhpOszWXxj7hyolORDV1OwLdr50SAiY1NMK9yvuGBSj7 o1LK/62drRfUekXDy0nLXdTl4dKWAL1tUTMHzKmk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49294: drm/amd/display: Check if modulo is 0 before dividing. Date: Wed, 26 Feb 2025 03:00:26 +0100 Message-ID: <2025022625-CVE-2022-49294-a2fc@gregkh> X-Mailer: git-send-email 2.48.1 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=2000; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MqdViDlt5mCFuztNYxW/hN2CtjFCfM8FTM2FgJMpCVc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Snc6a4c4FiV+jDu75QxHtkNZQ3KGLXPAnXTVp05dv yNP/C/oiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn838qwYI7d4oM7OW+dfVVz 7Tl3qXXg4YcyWxgWbH9+zrZlivPiY3EHgv616j81cnc9CgA= 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: Check if modulo is 0 before dividing. [How & Why] If a value of 0 is read, then this will cause a divide-by-0 panic. The Linux kernel CVE team has assigned CVE-2022-49294 to this issue. Affected and fixed versions =========================== Fixed in 5.15.47 with commit 10ef82d6e0af5536ec64770c07f6bbabfdd6977c Fixed in 5.17.15 with commit 96725758eff7b3805e4e94d1443a100757412720 Fixed in 5.18.4 with commit 07efce8269a038c37814eb656b4de14aa3015fc6 Fixed in 5.19 with commit 49947b906a6bd9668eaf4f9cf691973c25c26955 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-49294 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/dce/dce_clock_source.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/10ef82d6e0af5536ec64770c07f6bbabfdd6977c https://git.kernel.org/stable/c/96725758eff7b3805e4e94d1443a100757412720 https://git.kernel.org/stable/c/07efce8269a038c37814eb656b4de14aa3015fc6 https://git.kernel.org/stable/c/49947b906a6bd9668eaf4f9cf691973c25c26955