CVE-2026-23132 PUBLISHED

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

Assigner: Linux
Reserved: 13.01.2026 Published: 14.02.2026 Updated: 14.02.2026

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:

  3. drm_bridge_attach()
  4. phy_init()
  5. devm_add_action_or_reset()
  6. platform_get_irq()
  7. devm_request_threaded_irq()

  8. 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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 86eecc3a9c2e06462f6a273fcd24150b6da787de to 569ed6a73e927a34cae4ae6de1464c0737a5ec44 (excl.)
  • affected from 86eecc3a9c2e06462f6a273fcd24150b6da787de to 1a0f69e3c28477b97d3609569b7e8feb4b6162e8 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.18 is affected
  • unaffected from 0 to 6.18 (excl.)
  • unaffected from 6.18.8 to 6.18.* (incl.)
  • unaffected from 6.19 to * (incl.)

References