drm/bridge: synopsys: dw-dp: fix error paths of dw_dp_bind
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1a0f69e3c28477b97d3609569b7e8feb4b6162e8 and Kernel 569ed6a73e927a34cae4ae6de1464c0737a5ec44.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=86eecc3a9c2e06462f6a273fcd24150b6da787de <1a0f69e3c28477b97d3609569b7e8feb4b6162e8, >=86eecc3a9c2e06462f6a273fcd24150b6da787de <569ed6a73e927a34cae4ae6de1464c0737a5ec44 | 1a0f69e3c28477b97d3609569b7e8feb4b6162e8, 569ed6a73e927a34cae4ae6de1464c0737a5ec44 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket