Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 86eecc3a9c2e06462f6a273fcd24150b6da787de before 569ed6a73e927a34cae4ae6de1464c0737a5ec44; affected 86eecc3a9c2e06462f6a273fcd24150b6da787de before 1a0f69e3c28477b97d3609569b7e8feb4b6162e8 |
| Linux / Linux | affected 6.18; unaffected 0 before 6.18; unaffected 6.18.8 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.