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 4D55E23DE95 for ; Mon, 10 Feb 2025 15:59:04 +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=1739203147; cv=none; b=WEcvK5wXJD1Uj1fqB0uMvGnDQholkjpcZh8nVIl8r1objpdjW6DLaipG5NyAEa79tAwyI6WfOuodYLOKb5xKiWVS6pKmjachJcIZ330Ooj5zVeyJbfYIuwlokphb2GcTNki0a8MxrRznC3w7toDDvyO9wO69kEueMmJ940BomKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739203147; c=relaxed/simple; bh=908HzVPOEtzPM8NES8EMS46hOAvcD42l94MC/OP11NE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mm/ua2++7U/7SISr1Q9kbwZ54XBNBfeMGtcTl09JrCnlgWqYm6NNwRPHnNa5OLAulKXpUOLOip5cguTTkbYhDG4dKxKJKqYn9Q0vutfnDZy7BjdjHF8NG+ElWWtaZTM0jm4XhB33uw2sFtUj8/K+wQ6+2qOH6BafoweHTsxkygI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cpEB37cH; 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="cpEB37cH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BF73C4CED1; Mon, 10 Feb 2025 15:59:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1739203144; bh=908HzVPOEtzPM8NES8EMS46hOAvcD42l94MC/OP11NE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=cpEB37cHiz/WjKCXuAKWUAI1hbnyIPYcjKo/B7LnPv/a09KWsVBuOi3IXAy12hbLc b3yne2qXpOc+4Wh96l0zHtcX6/zP2m6PoaRq2QMoM7Z+nsUBefn111dpM0ny4axJT/ ztJZWmX7awRWJEmsOx6nXWj3PywJ/EAEY9NDXuxQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57950: drm/amd/display: Initialize denominator defaults to 1 Date: Mon, 10 Feb 2025 16:58:53 +0100 Message-ID: <2025021052-CVE-2024-57950-ec91@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=1895; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=908HzVPOEtzPM8NES8EMS46hOAvcD42l94MC/OP11NE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmrlGwc5zPUSf84tW2rjdz3+wd0V5Wc8AlZJd/yN076d 9mG3f+6O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiV4MY5spy7HlUtLMpfs36 lPq9XP3bmGt1chjmWdvtOleeEZt7bOKDvZ4HRA9VbrliDgA= 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: Initialize denominator defaults to 1 [WHAT & HOW] Variables, used as denominators and maybe not assigned to other values, should be initialized to non-zero to avoid DIVIDE_BY_ZERO, as reported by Coverity. (cherry picked from commit e2c4c6c10542ccfe4a0830bb6c9fd5b177b7bbb7) The Linux kernel CVE team has assigned CVE-2024-57950 to this issue. Affected and fixed versions =========================== Fixed in 6.12.12 with commit c9d6afb4f9c338049662d27d169fba7dd60e337d Fixed in 6.13 with commit 36b23e3baf9129d5b6c3a3a85b6b7ffb75ae287c 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-2024-57950 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/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.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/c9d6afb4f9c338049662d27d169fba7dd60e337d https://git.kernel.org/stable/c/36b23e3baf9129d5b6c3a3a85b6b7ffb75ae287c