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 86E0118C00D for ; Fri, 27 Sep 2024 12:36:57 +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=1727440617; cv=none; b=K3CFUkUAU/l5f+Aq9mnGgkWHIDclBKbmHlzTSL7AsZtMbj9dEruOHfkDFRqLkfQvIYfrXHPQsMIJBNAlsiJsByDR5CvLD5rbCgYMBdrCbsCLfUjlYgDLRkrkxuuaSU7mlkLALEu/D2d7Da///D2qORWuJZDNsP+QrtI/q5Q7njg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440617; c=relaxed/simple; bh=yblb2yLen5R9fhlohSWrXrwcaRG8fRWXHl+X9j3qhsU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sh+glgm0G9hJL2rpYv/KEMA1ZTt9/zR8LAZqXmMpYnGVGRRaTus+fXckvev1PSmRV1q4G3VilHD+GsAHcALYjQpVGCTcjmcAaQNI3IEVBrPGGSo+nqAlfa8usD6Gbt9YBA6fZomJSrzFkRB/eXvYinXfYFIT9DJUKWLDV9fIv4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ppnPu0js; 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="ppnPu0js" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA47AC4CEC4; Fri, 27 Sep 2024 12:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440617; bh=yblb2yLen5R9fhlohSWrXrwcaRG8fRWXHl+X9j3qhsU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ppnPu0jsGlZR0gFwV7n02Kdp9NQ2hxgvMVMQK+1iP6LThhKEg+Rj3ID4Fif3yWUwP tOTSPnQTp3cY2MNI16+pUPezx8fTdLoHPuYeCiuoPgjlxlIhZS8uaJqZnIiPNq1O71 T7EoJJs4UEhOuvo9xXhebKpZLKSjANui7YjXeabQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46804: drm/amd/display: Add array index check for hdcp ddc access Date: Fri, 27 Sep 2024 14:36:09 +0200 Message-ID: <2024092708-CVE-2024-46804-c90d@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=2178; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yblb2yLen5R9fhlohSWrXrwcaRG8fRWXHl+X9j3qhsU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnflu1UVnH5cbDFx+SLTHG6ft1nI/l7Sx4u6lBY9une7 oJ8hebQjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIyVqG+cHhcm/WnjT32dD/ t7jksV7LNJkHsgzzHZKV4pJrOTY4X9x/N3Cu7YEHkxJ1AA== 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: Add array index check for hdcp ddc access [Why] Coverity reports OVERRUN warning. Do not check if array index valid. [How] Check msg_id valid and valid array index. The Linux kernel CVE team has assigned CVE-2024-46804 to this issue. Affected and fixed versions =========================== Fixed in 5.10.226 with commit 2a63c90c7a90 Fixed in 5.15.167 with commit 0ee4387c5a4b Fixed in 6.1.109 with commit f338f99f6a04 Fixed in 6.6.50 with commit 8b5ccf3d0119 Fixed in 6.10.9 with commit a3b5ee22a9d3 Fixed in 6.11 with commit 4e70c0f5251c 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-46804 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/modules/hdcp/hdcp_ddc.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/2a63c90c7a90ab2bd23deebc2814fc5b52abf6d2 https://git.kernel.org/stable/c/0ee4387c5a4b57ec733c3fb4365188d5979cd9c7 https://git.kernel.org/stable/c/f338f99f6a04d03c802087d82a83561cbd5bdc99 https://git.kernel.org/stable/c/8b5ccf3d011969417be653b5a145c72dbd30472c https://git.kernel.org/stable/c/a3b5ee22a9d3a30045191da5678ca8451ebaea30 https://git.kernel.org/stable/c/4e70c0f5251c25885c31ee84a31f99a01f7cf50e