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 8293415C14F for ; Wed, 18 Sep 2024 06:33:26 +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=1726641206; cv=none; b=u763G2Wl06grF1rDLOGXySEs32LUViglKHoxKUd6QtshnQsklsa5RIHZ/g5xL6GDcxut9l+VdF4xiQPzMLP9imi884cR4J3wHKCLWHhCA01ExpGQsKTo9HfvnFmVoJ1ujP9+gZqqqS7Ni9GsnIXCUs3S2N+TECWp4Kre6zn9fmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726641206; c=relaxed/simple; bh=4j3EU+VP2qE8z1lIkR11RvoZAQjR02quuv5bQKFiHK8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mhmgDiytyQkYbSGx3hgpcbC1U4Jlmv941TLDM9licF5fqcdaCPpdatd8wiz2akQ9EW4wM4RloKRVd8HbQsVGVGsNEoJj8np6FeSlRkb8vAuXwDoDIs5BlXX5t8m6/gFdV6cfHGGPMPQPCp4l/TpNnPaU1cOu4Z8mcM88ZMYZtZg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Dhnwu7MJ; 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="Dhnwu7MJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 090FBC4CEC3; Wed, 18 Sep 2024 06:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726641206; bh=4j3EU+VP2qE8z1lIkR11RvoZAQjR02quuv5bQKFiHK8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Dhnwu7MJ+t+L3XauWymg0LMU09m8Q9V63OgEPom/A4R0+VSbtxtKKvqePQQHkCjRp yusaxuOXlllNMe+Ip7awPK6HGZFSC3qZkXt4d4eMNQnGsj1wMu1cUwhyk0KBzAEZpZ UBW5BJ+FdgnIsftzTT4tD6PSDdye+QMARUH2XeqQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46730: drm/amd/display: Ensure array index tg_inst won't be -1 Date: Wed, 18 Sep 2024 08:32:47 +0200 Message-ID: <2024091836-CVE-2024-46730-b69e@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=1734; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4j3EU+VP2qE8z1lIkR11RvoZAQjR02quuv5bQKFiHK8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmvSliSHpmduen/YL+9uUHi20IGVUaPLYbMGrzFZ7+8W VPZcPZjRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkM4ZhfpYAg0CofGtmo9aC R5oV4eGsWWvvMMwPnRLcsWjGhogdhipSe3QUVv3nNTsIAA== 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: Ensure array index tg_inst won't be -1 [WHY & HOW] tg_inst will be a negative if timing_generator_count equals 0, which should be checked before used. This fixes 2 OVERRUN issues reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46730 to this issue. Affected and fixed versions =========================== Fixed in 6.10.9 with commit a64284b9e199 Fixed in 6.11 with commit 687fe329f18a 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-46730 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/core/dc_resource.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/a64284b9e1999ad5580debced4bc6d6adb28aad4 https://git.kernel.org/stable/c/687fe329f18ab0ab0496b20ed2cb003d4879d931