Skip to contentSkip to conversation

CVE-2026-23132: drm/bridge: synopsys: dw-dp: fix error paths of dw_dp_bind

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 14

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/bridge: synopsys: dw-dp: fix error paths of dw_dp_bind

Fix several issues in dw_dp_bind() error handling:

1. Missing return after drm_bridge_attach() failure - the function continued execution instead of returning an error.

2. Resource leak: drm_dp_aux_register() is not a devm function, so drm_dp_aux_unregister() must be called on all error paths after aux registration succeeds. This affects errors from:
- drm_bridge_attach()
- phy_init()
- devm_add_action_or_reset()
- platform_get_irq()
- devm_request_threaded_irq()

3. Bug fix: platform_get_irq() returns the IRQ number or a negative error code, but the error path was returning ERR_PTR(ret) instead of ERR_PTR(dp->irq).

Use a goto label for cleanup to ensure consistent error handling.

The Linux kernel CVE team has assigned CVE-2026-23132 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.18 with commit 86eecc3a9c2e06462f6a273fcd24150b6da787de and fixed in 6.18.8 with commit 569ed6a73e927a34cae4ae6de1464c0737a5ec44
	Issue introduced in 6.18 with commit 86eecc3a9c2e06462f6a273fcd24150b6da787de and fixed in 6.19 with commit 1a0f69e3c28477b97d3609569b7e8feb4b6162e8

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-23132

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-dp.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/569ed6a73e927a34cae4ae6de1464c0737a5ec44
	https://git.kernel.org/stable/c/1a0f69e3c28477b97d3609569b7e8feb4b6162e8