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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-02-29 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2021-47063, DEBIAN-CVE-2021-47063
- Record: https://cvemate.com/vulnerability/CVE-2021-47063 · JSON: https://cvemate.com/vulnerability/CVE-2021-47063/json

## Description

```text
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
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.255%, percentile 18.164%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 93)

- debian linux (Debian): \< 5.10.38-1
- ubuntu linux (Ubuntu): \< 4.15.0-226.238 \| \< 5.4.0-186.206
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.15.0-1169.182 \| \< 5.4.0-1126.136
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1126.136~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2108.114 \| All versions (No fix recorded) \| \< 5.4.0-1126.136+fips2
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1169.182~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1178.193~14.04.1 \| \< 4.15.0-1178.193~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1131.138
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1178.193
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/ce450934a00cf896e648fde08d0bd1426653d7a2>
- <https://git.kernel.org/stable/c/18149b420c9bd93c443e8d1f48a063d71d9f6aa1>
- <https://git.kernel.org/stable/c/98d7d76a74e48ec3ddf2e23950adff7edcab9327>
- <https://git.kernel.org/stable/c/4d906839d321c2efbf3fed4bc31ffd9ff55b75c0>
- <https://ubuntu.com/security/CVE-2021-47063>
- <https://git.kernel.org/linus/4d906839d321c2efbf3fed4bc31ffd9ff55b75c0>
- <https://www.cve.org/CVERecord?id=CVE-2021-47063>
- <https://ubuntu.com/security/notices/USN-6831-1>
- <https://ubuntu.com/security/notices/USN-6866-1>
- <https://ubuntu.com/security/notices/USN-6867-1>
- <https://ubuntu.com/security/notices/USN-6866-2>
- <https://ubuntu.com/security/notices/USN-6866-3>
- <https://security-tracker.debian.org/tracker/CVE-2021-47063>

---

Data as of 2026-12-05T04:44:42.746Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
