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 51672199FB4 for ; Wed, 9 Oct 2024 14:03:03 +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=1728482585; cv=none; b=l4KqNjb1owUzrI9pUO7/mAzshpR3jtdh1ThKVG66akM2ZFqvFMGOxLpD98Jz4e5dJunkPcnlfq3XinzBQaa71GQhcAWL2yBxzw8hZjTk92xHQ11rxEQjLqgziJic2LGn1Xa8PtYwSjhx92eUfMASakhw3YQuIkNtQnaXd4ttO1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728482585; c=relaxed/simple; bh=SrmfiaJkoOgW+OFhnmoraxpgUMpBP5tWQRkOBebIy1Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m5sLN9jNyfvyyUofZnnYy6eqHYsVU+ZnpLbx5GPHkRXG29TtL7x3fCI4ARumtxURt8tAbZXocUL2KylU2QVdBA53s+A1x1jkvSL5+tnAHfFIiFmpopRNyeoezzuh2d3aowhNMfpVkYqVvQ+MX77p0nMHNkKPvHKCgm46xgKvv3o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=waqwI3dh; 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="waqwI3dh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65500C4CEC5; Wed, 9 Oct 2024 14:03:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728482583; bh=SrmfiaJkoOgW+OFhnmoraxpgUMpBP5tWQRkOBebIy1Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=waqwI3dhFIVjkx//DbKSBymNiiqZapZ/VxVDDLGQdQAS68bmYq6KwxIX6C/uAfjSY 1AP48FLEkrs9DUWWsvcqKU76uUfWFoMMhyOLABVatIApuFL0xa7wHEpe/ivev8uQQK aDqREEX+KdqcNyDPu1A1JKUCXo/YELfyFna6r2GY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46871: drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX Date: Wed, 9 Oct 2024 16:03:00 +0200 Message-ID: <2024100958-CVE-2024-46871-15f4@gregkh> X-Mailer: git-send-email 2.47.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=2038; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SrmfiaJkoOgW+OFhnmoraxpgUMpBP5tWQRkOBebIy1Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlsvcLMb95MuSd74vxEx6+uvP9LElvFzdk85Ovzle9yZ gosuazWEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPhNWBYsP73HF/xJ96CoVMy owX7j3GFrJzqwbBg6h6mpL6IKfuvfHuzJKvm6rMLdnZPAQ== 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: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX [Why & How] It actually exposes '6' types in enum dmub_notification_type. Not 5. Using smaller number to create array dmub_callback & dmub_thread_offload has potential to access item out of array bound. Fix it. The Linux kernel CVE team has assigned CVE-2024-46871 to this issue. Affected and fixed versions =========================== Fixed in 6.1.109 with commit 9f404b0bc2df Fixed in 6.6.50 with commit 800a5ab673c4 Fixed in 6.10.9 with commit c592b6355b9b Fixed in 6.11 with commit ad28d7c3d989 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-46871 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.h 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/9f404b0bc2df3880758fb3c3bc7496f596f347d7 https://git.kernel.org/stable/c/800a5ab673c4a61ca220cce177386723d91bdb37 https://git.kernel.org/stable/c/c592b6355b9b57b8e59fc5978ce1e14f64488a98 https://git.kernel.org/stable/c/ad28d7c3d989fc5689581664653879d664da76f0