{"id":"CVE-2021-47063","aliases":["CVE-2021-47063"],"related":[],"kind":"vulnerability","state":"published","title":"drm: bridge/panel: Cleanup connector on bridge detach","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: bridge/panel: Cleanup connector on bridge detach\n\nIf we don't call drm_connector_cleanup() manually in\npanel_bridge_detach(), the connector will be cleaned up with the other\nDRM objects in the call to drm_mode_config_cleanup(). However, since our\ndrm_connector is devm-allocated, by the time drm_mode_config_cleanup()\nwill be called, our connector will be long gone. Therefore, the\nconnector must be cleaned up when the bridge is detached to avoid\nuse-after-free conditions.\n\nv2: Cleanup connector only if it was created\n\nv3: Add FIXME\n\nv4: (Use connector->dev) directly in if() block","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: bridge/panel: Cleanup connector on bridge detach\n\nIf we don't call drm_connector_cleanup() manually in\npanel_bridge_detach(), the connector will be cleaned up with the other\nDRM objects in the call to drm_mode_config_cleanup(). However, since our\ndrm_connector is devm-allocated, by the time drm_mode_config_cleanup()\nwill be called, our connector will be long gone. Therefore, the\nconnector must be cleaned up when the bridge is detached to avoid\nuse-after-free conditions.\n\nv2: Cleanup connector only if it was created\n\nv3: Add FIXME\n\nv4: (Use connector->dev) directly in if() block","source":"cvelist"},{"lang":"es","text":"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-&gt;dev) directamente en el bloque if()","source":"nvd"}],"published":"2024-02-29T22:37:37.429Z","modified":"2026-06-17T04:16:21.490Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"13dfc0540a575b47b2d640b093ac16e9e09474f6","fixed":"ce450934a00cf896e648fde08d0bd1426653d7a2","status":"affected"},{"type":"git","introduced":"13dfc0540a575b47b2d640b093ac16e9e09474f6","fixed":"18149b420c9bd93c443e8d1f48a063d71d9f6aa1","status":"affected"},{"type":"git","introduced":"13dfc0540a575b47b2d640b093ac16e9e09474f6","fixed":"98d7d76a74e48ec3ddf2e23950adff7edcab9327","status":"affected"},{"type":"git","introduced":"13dfc0540a575b47b2d640b093ac16e9e09474f6","fixed":"4d906839d321c2efbf3fed4bc31ffd9ff55b75c0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.13","status":"unaffected"},{"type":"semver","introduced":"5.10.37","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.21","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.4","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.13","fixed":"5.10.37"},{"status":"affected","introduced":"5.11","fixed":"5.11.21"},{"status":"affected","introduced":"5.12","fixed":"5.12.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ce450934a00cf896e648fde08d0bd1426653d7a2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18149b420c9bd93c443e8d1f48a063d71d9f6aa1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98d7d76a74e48ec3ddf2e23950adff7edcab9327","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d906839d321c2efbf3fed4bc31ffd9ff55b75c0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-01T15:52:26.504Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47063","url":"https://www.cve.org/CVERecord?id=CVE-2021-47063","licence":"CVE Terms of Use","modified":"2026-05-11T13:47:21.795Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47063","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47063","licence":"Public domain","modified":"2026-06-17T04:16:21.490Z"}],"updatedAt":"2026-11-25T22:58:08.642Z","epss":{"score":0.00255,"percentile":0.18218,"date":"2026-12-01T12:00:22.000Z"}}