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.
Product status
86eecc3a9c2e06462f6a273fcd24150b6da787de (git) before 569ed6a73e927a34cae4ae6de1464c0737a5ec44
86eecc3a9c2e06462f6a273fcd24150b6da787de (git) before 1a0f69e3c28477b97d3609569b7e8feb4b6162e8
6.18
Any version before 6.18
6.18.8 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/569ed6a73e927a34cae4ae6de1464c0737a5ec44
git.kernel.org/...c/1a0f69e3c28477b97d3609569b7e8feb4b6162e8