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 EE7441FBCB7 for ; Mon, 21 Oct 2024 18:07:15 +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=1729534036; cv=none; b=KUYiB71YhHAm10Me0PlxTvOlprpl21XHq2dwGqcsQ/hEdc4z7U/m9pA8oEij7WuvDCLIdne+GULuox32RD5Y7miXwA0PhCqzeN5Z6XjIuml/1ivsHSorp8af0KbF2GkyG7IZUjx/TTho5t/lKTpPbh+4OKZW31T1KMAb6BWmGBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729534036; c=relaxed/simple; bh=DcNioXG6SZ75x0wgmZ8fnaiL6IxQ5lYDtTgDwKGrs9M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RSMFj5C19ChuddR4D/uaXbVSTOZu+bCzqP6TWXx7uPgTxuEuNs6zKCo5UNHBU/lAzxA56GhTf4c5kVuTpIrW8Dyov835sJbk80T24BtD0k6Nr78PbkYOW1xXQ6LF/8ZJkn2xZ6GVh8eRHumkiaRjUkWDcJIGVKJ9BmuxA0ct0OU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2MPEtSnm; 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="2MPEtSnm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 705C9C4CEC7; Mon, 21 Oct 2024 18:07:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729534035; bh=DcNioXG6SZ75x0wgmZ8fnaiL6IxQ5lYDtTgDwKGrs9M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2MPEtSnmJMzFZqvJWHddyqfIKIxm3937l9FrvXGmxcHpG7WmL538/FZHLIytoUYQq EtySlOpJCOnyk26l7u7QdnZazJRmrS84nliX1xh2km/cOlrNNtiGFuYogT3mPyHGFu RiKbvwWLhp+tdvvB0ObAnP06tNHePZL7QKuh2Bd8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49971: drm/amd/display: Increase array size of dummy_boolean Date: Mon, 21 Oct 2024 20:02:59 +0200 Message-ID: <2024102133-CVE-2024-49971-ad07@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=1934; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DcNioXG6SZ75x0wgmZ8fnaiL6IxQ5lYDtTgDwKGrs9M=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0/5e75p02O1Ut3HCq0Nrzsd1GIgczlfZlr7dT2PnX b8A+wMVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARgR0MC1r1/0w79m729M41 0lEBNv8ZbHl55zEsmL+mSvpk6/XmjHPxrGc33JqRGLLtPAA= 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: Increase array size of dummy_boolean [WHY] dml2_core_shared_mode_support and dml_core_mode_support access the third element of dummy_boolean, i.e. hw_debug5 = &s->dummy_boolean[2], when dummy_boolean has size of 2. Any assignment to hw_debug5 causes an OVERRUN. [HOW] Increase dummy_boolean's array size to 3. This fixes 2 OVERRUN issues reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-49971 to this issue. Affected and fixed versions =========================== Fixed in 6.11.3 with commit e9e48b7bb9cf Fixed in 6.12-rc1 with commit 6d64d3948619 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-49971 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/dml2/dml21/src/dml2_core/dml2_core_shared_types.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/e9e48b7bb9cf3b78f0305ef0144aaf61da0a83d8 https://git.kernel.org/stable/c/6d64d39486197083497a01b39e23f2f8474b35d3