CVE-2026-23132
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 86eecc3a9c2e06462f6a273fcd24150b6da787de before 569ed6a73e927a34cae4ae6de1464c0737a5ec44, from 86eecc3a9c2e06462f6a273fcd24150b6da787de before 1a0f69e3c28477b97d3609569b7e8feb4b6162e8, 6.18
Not affected: before 6.18, from 6.18.8 up to 6.18.*, from 6.19 up to *
CVE List
linux linux_kernelfrom 6.18 before 6.18.8, 6.19NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/bridge: synopsys: dw-dp: corregir rutas de error de dw_dp_bind Corregir varios problemas en el manejo de errores de dw_dp_bind(): 1. Retorno faltante después de un fallo de drm_bridge_attach(): la función continuó la ejecución en lugar de devolver un error. 2. Fuga de recursos: drm_dp_aux_register() no es una función devm, por lo que drm_dp_aux_unregister() debe ser llamada en todas las rutas de error después de que el registro auxiliar tenga éxito. Esto afecta a los errores de: - drm_bridge_attach() - phy_init() - devm_add_action_or_reset() - platform_get_irq() - devm_request_threaded_irq() 3. Corrección de error: platform_get_irq() devuelve el número IRQ o un código de error negativo, pero la ruta de error estaba devolviendo ERR_PTR(ret) en lugar de ERR_PTR(dp->irq). Usar una etiqueta goto para la limpieza para asegurar un manejo de errores consistente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23132 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-23132 changed 2026-06-17Public domain