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 149543254A8 for ; Wed, 24 Jun 2026 16:38:38 +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=1782319119; cv=none; b=ri9sZZS7ovlW/DtdeHd7cERNrUJDDMRM6BUACMzTHuGOxPXXxwn1t6Uj+pDV6USG5/sNHQzTn9ADR8Q/VTI6LTlcPxp4O9vlZWUXVhkm4hO/8eFMwGkZNFmMVBQwIYSajRg0GSJ51j/VeT1ew9RtKhw38gLlOl7fcxN0nEnTMgE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319119; c=relaxed/simple; bh=lxu5ChKJTocB0/bk+Ms78oSk54Dm/A4TNL7PRILo6Tg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GBh72X2JJhyRZkkgMEgP1mU4CV77rgMVXCEqTXYnU7YenEM6cdOcAY0CXDl8/ScMIxyg2bsNFvHmJrymfvvOWr+25qkDygCfLAUvXaSLIzqbtmgH5foQlzJCifbVtYr8KrrX9IG+1wwmfR6BWHztqGd0APA8yg9rvMH8JGJXQYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KdeYlSMf; 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="KdeYlSMf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EF961F00A3A; Wed, 24 Jun 2026 16:38:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319118; bh=KhjgYABLlEMIB8NTmrmKd1AHX+8HeUigeTPkgJPrac4=; h=From:To:Cc:Subject:Date:Reply-To; b=KdeYlSMfVWIBqjldyqxH0pCxb8ja6R/ma0M6UUBeuokF5Hx9GBsGlr3fVgDYQxiLg 4WpInroI3/E9jXLhHTCzoTXq9k60jbZCxCC+sXcF9bY9+RqCF3sscHsdlVNNhNr7BH 0feKy9PPS0++CJ0RpC3SMxSHRNadpOXJ7jgx/KE0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53058: drm/bridge: cadence: cdns-mhdp8546-core: Set the mhdp connector earlier in atomic_enable() Date: Wed, 24 Jun 2026 17:31:22 +0100 Message-ID: <2026062401-CVE-2026-53058-d89c@gregkh> X-Mailer: git-send-email 2.54.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=3297; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hTcYpd5nzdLgZ63fe864Hjmn9RrdOQjzgcdU4TnNSEQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bJxW+ef8Sp2kPA9vnLZ9+u+P39J3vl7wdgLv4sDKD xvENqa0dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEzm9kmO+aGXI5gWHlbuUq /cm+Ti7SycnM3AzzA09Ey3SYPxV9XLzWpGGz76e8xfl3AA== 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/bridge: cadence: cdns-mhdp8546-core: Set the mhdp connector earlier in atomic_enable() In case if we get errors in cdns_mhdp_link_up() or cdns_mhdp_reg_read() in atomic_enable, we will go to cdns_mhdp_modeset_retry_fn() and will hit NULL pointer while trying to access the mutex. We need the connector to be set before that. Unlike in legacy cases with flag !DRM_BRIDGE_ATTACH_NO_CONNECTOR, we do not have connector initialised in bridge_attach(), so add the mhdp->connector_ptr in device structure to handle both cases with DRM_BRIDGE_ATTACH_NO_CONNECTOR and !DRM_BRIDGE_ATTACH_NO_CONNECTOR, set it in atomic_enable() earlier to avoid possible NULL pointer dereference in recovery paths like modeset_retry_fn() with the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag set. The Linux kernel CVE team has assigned CVE-2026-53058 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit c932ced6b58524eeb948ff252f6512cd6bcb9d9f and fixed in 6.6.141 with commit 5302015daf26ef6b48e067f2b86c9482ac19e015 Issue introduced in 6.6 with commit c932ced6b58524eeb948ff252f6512cd6bcb9d9f and fixed in 6.12.91 with commit a3611554e599d1a24b45fd8415bacb72ce861e4b Issue introduced in 6.6 with commit c932ced6b58524eeb948ff252f6512cd6bcb9d9f and fixed in 6.18.33 with commit cf2ac2cac8b319f89b3a3851ca0c5ffb6a549575 Issue introduced in 6.6 with commit c932ced6b58524eeb948ff252f6512cd6bcb9d9f and fixed in 7.0.10 with commit 1af3b42e08a957e53bab8e1897393fe0a27d9fbf Issue introduced in 6.6 with commit c932ced6b58524eeb948ff252f6512cd6bcb9d9f and fixed in 7.1 with commit 43d6508ddbf9fb974fbc359a033154f78c9d4c8b 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-53058 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/bridge/cadence/cdns-mhdp8546-core.c drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.h drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-hdcp.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/5302015daf26ef6b48e067f2b86c9482ac19e015 https://git.kernel.org/stable/c/a3611554e599d1a24b45fd8415bacb72ce861e4b https://git.kernel.org/stable/c/cf2ac2cac8b319f89b3a3851ca0c5ffb6a549575 https://git.kernel.org/stable/c/1af3b42e08a957e53bab8e1897393fe0a27d9fbf https://git.kernel.org/stable/c/43d6508ddbf9fb974fbc359a033154f78c9d4c8b