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 43B402AD16 for ; Tue, 9 Dec 2025 00:03:18 +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=1765238599; cv=none; b=dnB+VU1GLDaAoDFEXPnZhqxHmAW9WA46ECTsNf2ywnXZ4CspgKJQOuYv9WuFJ3FPbaBbb+RTf5StAPzCR+hRHJ7k8QUwYkk8kCDUwTHXqhhDVaZyQb+115+M3A/Jp9kw5KJbytmQ9IFXO8TCxUxZuK+1e6p6nE8qBqVSZpDPw20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238599; c=relaxed/simple; bh=hWetu2d+YhilJiy02+TAR04EXYtu3DGpJwFGOom4NqA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CsCC/YJ+G0tIGaklFrAUm1f4Q50SMW2JTifsn0bcu8TAZv9lrYwti7jMbCASuSOccQMUItdQJwtevzQzQEA2v8JMn/kjW062TJQdqQsZRwTpgrtx+Niiiu9GH9+nhOHKMLP8tQwmSNZj3W42PvtrTdy+8cgc1hQOYOSGNVHz/Hw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DM1RIofm; 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="DM1RIofm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74738C19421; Tue, 9 Dec 2025 00:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238598; bh=hWetu2d+YhilJiy02+TAR04EXYtu3DGpJwFGOom4NqA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=DM1RIofmIGyDdypSbjvhE7InQMKEHdNhLdQjiwkb9m8q40paqbwTtlTEzM2nuENmL xG0wBWF7MmdxxdQq0AjCAWwKIAz2QnqCoB1+ketH7gowf2vZGMHc1zqFbHYpAvYvti DHcLI4C9lifjyV2VW4CSw1NuqsjjQG/+9B2wAfd4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53784: drm: bridge: dw_hdmi: fix connector access for scdc Date: Tue, 9 Dec 2025 09:02:05 +0900 Message-ID: <2025120939-CVE-2023-53784-a381@gregkh> X-Mailer: git-send-email 2.52.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=2463; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OM2Zs4kqCvoPbp+ZU6xEwVuz6rpLbSAuZM9Dw9mlEc8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaU/+lisahAd+r9TLOVso1nhlpbH1lLkzf19hb+E63 qmz6WVbRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykVZhhnrLlmsBH880rRCxf nC+MMJ0+S0rpMcOCBmsu80+9Bi1hKl8yTn3cKP5lTWcTAA== 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: dw_hdmi: fix connector access for scdc Commit 5d844091f237 ("drm/scdc-helper: Pimp SCDC debugs") changed the scdc interface to pick up an i2c adapter from a connector instead. However, in the case of dw-hdmi, the wrong connector was being used to pass i2c adapter information, since dw-hdmi's embedded connector structure is only populated when the bridge attachment callback explicitly asks for it. drm-meson is handling connector creation, so this won't happen, leading to a NULL pointer dereference. Fix it by having scdc functions access dw-hdmi's current connector pointer instead, which is assigned during the bridge enablement stage. [narmstrong: moved Fixes tag before first S-o-b and added Reported-by tag] The Linux kernel CVE team has assigned CVE-2023-53784 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 5d844091f2370f01752c3129b147861b9dcd3d98 and fixed in 6.4.5 with commit 552f79aa9e801ed4f74d6b3221af78042ba4f235 Issue introduced in 6.4 with commit 5d844091f2370f01752c3129b147861b9dcd3d98 and fixed in 6.5 with commit 98703e4e061fb8715c7613cd227e32cdfd136b23 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-2023-53784 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/synopsys/dw-hdmi.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/552f79aa9e801ed4f74d6b3221af78042ba4f235 https://git.kernel.org/stable/c/98703e4e061fb8715c7613cd227e32cdfd136b23