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 805302E541E for ; Tue, 7 Oct 2025 15:21:41 +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=1759850501; cv=none; b=qfNuEyu4GtzjHuFFePloTfUETSTJJDlrTieBV3xZYpolEppZoJ5R5AVSPYjvtHS5U6bcDRelPRtFBPVbyErec61DaETQj3ohA0C+3GyOaPBQJSUd9poR17mefdjylQo4qB2Lv0dhsjkUH1oPIh4sc4L0AdxRG8E7PGYoamSJ4Bc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850501; c=relaxed/simple; bh=MgCxlte0RFM01xNvxZDprzVEJNsJb+yBTvyMPT3l6Zc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iFgk9/aBhDm2/bPDiTbW4aN3eDBvLE3FdGkF/9RIVjpJ1v4r5HKFY8fcQ7cn6iQeSAA98r7xqr4FGKGWOi6iTJUs8WI9hGYNf8R/1QrT1ZiisV9lv0aXGzDnk0DMetV8K9+VRwiUsto1qee9XtnV2zBZb32qowSku77p7LaKYMU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zq0QanZF; 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="zq0QanZF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AC53C4CEF7; Tue, 7 Oct 2025 15:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850501; bh=MgCxlte0RFM01xNvxZDprzVEJNsJb+yBTvyMPT3l6Zc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zq0QanZFpAFpv+NGlCeC+30obuM9f1+1Q/L9i0ka3hgCEElLyu6CJjxR8bxRP7Xf/ nAxJpblQA52deyhLJjzw3fkNp8kKnFNlC/MSuddPFt0YGx/5yd+V5NJOCVyveQ1JP4 +HgiNMhXnfNcqMDZXydWg/Nf+0cX9tuzgB+/h20o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50526: drm/msm/dp: fix memory corruption with too many bridges Date: Tue, 7 Oct 2025 17:19:13 +0200 Message-ID: <2025100706-CVE-2022-50526-abd9@gregkh> X-Mailer: git-send-email 2.51.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=1995; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uTt4UBeev1EncXglqut9AcIPyZQF97OdfUsfnSulyzs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9bPYQrkObmzuy56WWXfb8lXwhO7z6R12CSHp30PVt +0KZ8zviGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImsF2GYK/2tS7QxdOW675Vc M16dj+Wr+PngL8N8B03zPJv/8bfWnr8XmfpOJrg6YdtSAA== 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/msm/dp: fix memory corruption with too many bridges Add the missing sanity check on the bridge counter to avoid corrupting data beyond the fixed-sized bridge array in case there are ever more than eight bridges. Patchwork: https://patchwork.freedesktop.org/patch/502664/ The Linux kernel CVE team has assigned CVE-2022-50526 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 8a3b4c17f863cde8e8743edd8faffe916c49b960 and fixed in 6.0.7 with commit b312fcab461bd9484c61409007a6fe059f9c2074 Issue introduced in 5.17 with commit 8a3b4c17f863cde8e8743edd8faffe916c49b960 and fixed in 6.1 with commit 74466e46e7543c7f74f1502181e9ba93f7521374 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-2022-50526 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/msm/dp/dp_display.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/b312fcab461bd9484c61409007a6fe059f9c2074 https://git.kernel.org/stable/c/74466e46e7543c7f74f1502181e9ba93f7521374