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 5CAD317A59B for ; Wed, 18 Sep 2024 07:18:45 +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=1726643925; cv=none; b=Fs7aLQGGibWj0R4y60cvRBwM19VNJYjorIGNDCJFiV2dBHMbjeEX5SzE4UkgdjKnQByVFjsplJpiY7fTX/vlzZY+u+Q0n3LQV5XdJ64R4tmNPenvrnED32NEmmzx3uULeZ+z5v/Equ1ow+wLtbemaU7rLVx2mRiKFpjWXKvYIMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726643925; c=relaxed/simple; bh=RjUpoLInovAOuMJsapCsAekk8Wp6lAzFVD8VvOn68Bg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gbptbRxCYHA/vWun8Zv6ZXLzGtXvXclLwib4/x4i6a6/uHBGWFydkJY5dDdmv+MNOSUoXkTrZMbEjb/paZTJkoLGsqJ183GwgWg2qJRSuS1qlo/QAmBF1xi6lQAhYYsUtOhO1zoCxfuRf07QhQCtKv1j6QocQvO7RaVTMd7oIp8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zwc3M7eX; 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="zwc3M7eX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8046C4CECD; Wed, 18 Sep 2024 07:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726643925; bh=RjUpoLInovAOuMJsapCsAekk8Wp6lAzFVD8VvOn68Bg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zwc3M7eX5kf8TbNOu2U7lv382i0QNfH6QMKdUQQ+iYRE38x3YJCNHEjV1Og6eDA/G +k7+cU2mJZ6WvpMML90FPhGVjsttYf24KGUy163YLqCapS5Vd6TVzsK0vlXIqsOzXl HsA3akiamx5/wFdMNEEjwS5Q7vy40mq2ej2kNHSI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46773: drm/amd/display: Check denominator pbn_div before used Date: Wed, 18 Sep 2024 09:17:08 +0200 Message-ID: <2024091847-CVE-2024-46773-5781@gregkh> X-Mailer: git-send-email 2.46.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=1932; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RjUpoLInovAOuMJsapCsAekk8Wp6lAzFVD8VvOn68Bg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmv6uLTF0jcaDOtfzDDwL78vJVo9Ip4Z5GfyeL7zIRfn tCqqnXriGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn0nWOYZ3Enm1Py1ZTZ32Ru sn1jVdLSs/X2Z5jv2Lt5xfr+CSvFpbY/exo6+f2J2xUNAA== 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 denominator pbn_div before used [WHAT & HOW] A denominator cannot be 0, and is checked before used. This fixes 1 DIVIDE_BY_ZERO issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46773 to this issue. Affected and fixed versions =========================== Fixed in 6.1.110 with commit 20e7164c52d9 Fixed in 6.6.51 with commit dfafee0a7b51 Fixed in 6.10.10 with commit 11f997143c67 Fixed in 6.11 with commit 116a678f3a9a 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-46773 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/amdgpu_dm/amdgpu_dm.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/20e7164c52d9bfbb9d9862b833fa989624a61345 https://git.kernel.org/stable/c/dfafee0a7b51c7c9612edd2d991401294964d02f https://git.kernel.org/stable/c/11f997143c67680d6e40a13363618380cd57a414 https://git.kernel.org/stable/c/116a678f3a9abc24f5c9d2525b7393d18d9eb58e