Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 BA7E93D45F4 for ; Mon, 10 Aug 2026 12:10:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363813; cv=none; b=t+Nzh6Yc5o/WCVcJoULwK1+GRO1OHHX3QUMhJUwKsDJH3Ut7fVKdn90DojVZDqOcMx+BRCiR93SI8UXGwOtWeTgqU+SByJ5XiM2mCQQ0pR8QSgDp4X8//SR20irKF+ovVhhsZDvlOFq4+9tPhbcLlpTIgc0YfPGlkqF39nMkFKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363813; c=relaxed/simple; bh=5Xj0TbXuUMwrcsPvA4yInf+RggWcf1BGCUlI0pyZu20=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kEbZCpXIR3Ow/nIpcnbR/uV8XLPezXKaBmPhMMf435sAdb2CkCrQgjJiit0t6nr0wXunKB73M/aUvPHUl/9QanXNDUcYbSSG2CuDhbjnK4Nc+2mXQqMB4WvNWC3WTBZ1RQXX7fNSdY7UNPwKYe5zzTwCPthYhZ4aQvg59jR4Z/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=l1aPtzYl; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="l1aPtzYl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E6081F000E9; Mon, 10 Aug 2026 12:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363811; bh=Skrrwlr+o/Rp3jt9O3BfCQXkObRhz0L3bLpnzdDYf0U=; h=From:To:Cc:Subject:Date:Reply-To; b=l1aPtzYl9KmrZF4zgaeTdpvCggHCCr3zme1zq3eKUd5V+0YMQ+VlcUCDFjaa3OK1p nKedYi7R5pAhizhEKe2bcVIuZSH2DZWmGHDf3irUxxgPQAH6Zly91UiFqhJrdeb4XN qEtejZJkAjDUnK9hKepNgNvdJ55+xq1NPxaQu8Bo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68277: drm/dp/mst: fix OOB reads on 2-byte fields in sideband reply parsers Date: Mon, 10 Aug 2026 13:59:54 +0200 Message-ID: <2026081025-CVE-2026-68277-f1cf@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3262; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=s0NFYm/LCWOAwi3dQKtQpb3MN6jaG7QquNCWU0PUps0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe5bqnV926cUOB/8tQsZdk+RPbYm8NtH2TGXmnvziq ZuWbwt73BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATefWSYb7f2a0BAoXLuX6q //P0Ye7g0N+cvpJhfti3gvd75HVOBE3/6Px2603FdzmdcwE= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/dp/mst: fix OOB reads on 2-byte fields in sideband reply parsers Three sideband reply parsers read 16-bit fields as: val = (raw->msg[idx] << 8) | (raw->msg[idx+1]); and check bounds only after the fact. When idx == raw->curlen, raw->msg[idx+1] reads one byte past the received message data into the following struct fields (curchunk_len, curchunk_idx, curlen). Affected functions: - drm_dp_sideband_parse_enum_path_resources_ack() full_payload_bw_number and avail_payload_bw_number fields - drm_dp_sideband_parse_allocate_payload_ack() allocated_pbn field - drm_dp_sideband_parse_query_payload_ack() allocated_pbn field Fix by using a single combined check (idx + 2 > curlen) before each 2-byte read. Since the check is strictly tighter than idx > curlen, no separate step is needed. [added fixes tag] The Linux kernel CVE team has assigned CVE-2026-68277 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit ad7f8a1f9ced7f049f9b66d588723f243a7034cd and fixed in 6.6.148 with commit bdf0508b1e6785d4a8982c637e97e68d60b47d7b Issue introduced in 3.17 with commit ad7f8a1f9ced7f049f9b66d588723f243a7034cd and fixed in 6.12.101 with commit 0bcd7675c69a2462a8531fcd9e4d096e9c7ec5df Issue introduced in 3.17 with commit ad7f8a1f9ced7f049f9b66d588723f243a7034cd and fixed in 6.18.42 with commit d5c70523cafa26ad2c7a37b612849abe2683baa8 Issue introduced in 3.17 with commit ad7f8a1f9ced7f049f9b66d588723f243a7034cd and fixed in 7.1.6 with commit 68a624416d1dd481b3e5b7ea0e8a070a9b8a2c73 Issue introduced in 3.17 with commit ad7f8a1f9ced7f049f9b66d588723f243a7034cd and fixed in 7.2-rc1 with commit 6b89ba3dba2f583626fb693e47e951ffb8bf591f 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-2026-68277 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/display/drm_dp_mst_topology.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/bdf0508b1e6785d4a8982c637e97e68d60b47d7b https://git.kernel.org/stable/c/0bcd7675c69a2462a8531fcd9e4d096e9c7ec5df https://git.kernel.org/stable/c/d5c70523cafa26ad2c7a37b612849abe2683baa8 https://git.kernel.org/stable/c/68a624416d1dd481b3e5b7ea0e8a070a9b8a2c73 https://git.kernel.org/stable/c/6b89ba3dba2f583626fb693e47e951ffb8bf591f