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 9B84A18BC32 for ; Fri, 27 Sep 2024 12:36:43 +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=1727440603; cv=none; b=Z4kZROZtp1mrDOCNlaf8aZa+UOPVkseM3GWa+fvwtCWuSaeoYZ+hpe3jtQe+PKVdkiSUbu1zu1r7NT9qehCtST/mKIiNnqkBQiM6JYpX4WOz+o0dNMtrQUp1wjIp8gfsgXjkuyNpEq15nvfoHt1td+KiqYKBBehG4s8t3o+q3Cc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440603; c=relaxed/simple; bh=Rc18vZF/ErokQ/ID2GQGN5uf3lGUdvGXOC2HUC/c13s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W43WWs3YlFZaAACX1kGyWu6ke/+ayHtlcZ3XPQKzug9hSsnPbzJ9sSQGzUJQEF2NkM7Dm9UYWbV6fAOSUGZer6B5XC1Susxm6Nu2SHFkoA1b6RybPZaEmMjAsYfsi1pywW7nzA1gJwSuFE1LWGY7B2LNQkuD8rPsmfA0vJrqv1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BrxrZ465; 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="BrxrZ465" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28933C4CEC4; Fri, 27 Sep 2024 12:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440603; bh=Rc18vZF/ErokQ/ID2GQGN5uf3lGUdvGXOC2HUC/c13s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BrxrZ465Z0Cs1jlQUD/v5L7MWz38k0+BfQjh2I5RXOZIARpMqVBp4OcfrardtG2Ys 2Q4PruhwmYf5pa6awFxL5Ev7ophKrhFtz5mEL8fu7gIoCYfg1VgpRRhwHfRihdu6jy 4oFf8n8HU+ujyKiE+x5FE1a841OFb3gFOsUedpj8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46817: drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6 Date: Fri, 27 Sep 2024 14:36:22 +0200 Message-ID: <2024092712-CVE-2024-46817-7a2c@gregkh> X-Mailer: git-send-email 2.46.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=2303; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Rc18vZF/ErokQ/ID2GQGN5uf3lGUdvGXOC2HUC/c13s=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnflu3p+nPpZ8ayLBmz3kex2ZMiHVjqGg9v9e3tyMtwW m/8Xf5RRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExktxvDPNPYLxNTU146CCvo sdlfXBU1f4dyEMOC1szdXlJTJm1ZmOd087x+tK+MqOhfAA== 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: Stop amdgpu_dm initialize when stream nums greater than 6 [Why] Coverity reports OVERRUN warning. Should abort amdgpu_dm initialize. [How] Return failure to amdgpu_dm_init. The Linux kernel CVE team has assigned CVE-2024-46817 to this issue. Affected and fixed versions =========================== Fixed in 5.4.284 with commit d619b91d3c4a Fixed in 5.10.226 with commit 754321ed63f0 Fixed in 5.15.167 with commit 21bbb39863f1 Fixed in 6.1.109 with commit 28b515c458aa Fixed in 6.6.50 with commit 94cb77700fa4 Fixed in 6.10.9 with commit d398c74c881d Fixed in 6.11 with commit 84723eb6068c 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-46817 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/d619b91d3c4af60ac422f1763ce53d721fb91262 https://git.kernel.org/stable/c/754321ed63f0a4a31252ca72e0bd89a9e1888018 https://git.kernel.org/stable/c/21bbb39863f10f5fb4bf772d15b07d5d13590e9d https://git.kernel.org/stable/c/28b515c458aa9c92bfcb99884c94713a5f471cea https://git.kernel.org/stable/c/94cb77700fa4ae6200486bfa0ba2ac547534afd2 https://git.kernel.org/stable/c/d398c74c881dee695f6eb6138c9891644e1c3d9d https://git.kernel.org/stable/c/84723eb6068c50610c5c0893980d230d7afa2105