# CVE-2021-47063: drm: bridge/panel: Cleanup connector on bridge detach

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-02-29T22:37:37.429Z
- Modified: 2026-06-17T04:16:21.490Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 4.13 before 5.10.37; from 5.11 before 5.11.21; from 5.12 before 5.12.4

## References

- <https://git.kernel.org/stable/c/ce450934a00cf896e648fde08d0bd1426653d7a2> (patch)
- <https://git.kernel.org/stable/c/18149b420c9bd93c443e8d1f48a063d71d9f6aa1> (patch)
- <https://git.kernel.org/stable/c/98d7d76a74e48ec3ddf2e23950adff7edcab9327> (patch)
- <https://git.kernel.org/stable/c/4d906839d321c2efbf3fed4bc31ffd9ff55b75c0> (patch)

## Sources

- CVE List: [CVE-2021-47063](https://www.cve.org/CVERecord?id=CVE-2021-47063), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47063](https://nvd.nist.gov/vuln/detail/CVE-2021-47063), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47063 · Whole record: https://cve.day/CVE-2021-47063.json · Rebuilt by cve.day 2026-11-25T22:58:08.642Z
