7.8high
drm: bridge/panel: Cleanup connector on bridge detach
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm: bridge/panel: Cleanup connector on bridge detach If we don't call drm_connector_cleanup() manually in panel_bridge_detach(), the connector will be cleaned up with the other DRM objects in the call to drm_mode_config_cleanup(). However, since our drm_connector is devm-allocated, by the time drm_mode_config_cleanup() will be called, our connector will be long gone. Therefore, the connector must be cleaned up when the bridge is detached to avoid use-after-free conditions. v2: Cleanup connector only if it was created v3: Add FIXME v4: (Use connector->dev) directly in if() block
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 13dfc0540a575b47b2d640b093ac16e9e09474f6 before ce450934a00cf896e648fde08d0bd1426653d7a2, from 13dfc0540a575b47b2d640b093ac16e9e09474f6 before 18149b420c9bd93c443e8d1f48a063d71d9f6aa1, from 13dfc0540a575b47b2d640b093ac16e9e09474f6 before 98d7d76a74e48ec3ddf2e23950adff7edcab9327, from 13dfc0540a575b47b2d640b093ac16e9e09474f6 before 4d906839d321c2efbf3fed4bc31ffd9ff55b75c0, 4.13 Not affected: before 4.13, from 5.10.37 up to 5.10.*, from 5.11.21 up to 5.11.*, from 5.12.4 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 4.13 before 5.10.37, from 5.11 before 5.11.21, from 5.12 before 5.12.4 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm: bridge/panel: Cleanup connector on bridge detach If we don't call drm_connector_cleanup() manually in panel_bridge_detach(), the connector will be cleaned up with the other DRM objects in the call to drm_mode_config_cleanup(). However, since our drm_connector is devm-allocated, by the time drm_mode_config_cleanup() will be called, our connector will be long gone. Therefore, the connector must be cleaned up when the bridge is detached to avoid use-after-free conditions. v2: Cleanup connector only if it was created v3: Add FIXME v4: (Use connector->dev) directly in if() block
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm: bridge/panel: Limpiar conector en bridge detach Si no llamamos a drm_connector_cleanup() manualmente en panel_bridge_detach(), el conector se limpiará con los demás objetos DRM en la llamada a drm_mode_config_cleanup(). Sin embargo, dado que nuestro drm_connector está asignado por devm, para cuando se llame a drm_mode_config_cleanup(), nuestro conector ya no existirá. Por lo tanto, el conector debe limpiarse cuando se retira el puente para evitar condiciones de uso después de su liberación. v2: Limpiar el conector solo si fue creado v3: Agregar FIXME v4: (Usar conector->dev) directamente en el bloque if()
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47063 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47063 changed 2026-06-17 | Public domain |