{"id":"CVE-2021-47063","state":"PUBLISHED","title":"drm: bridge/panel: Cleanup connector on bridge detach","description":"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","publishedAt":"2024-02-29T22:37:37.429Z","updatedAt":"2026-05-11T13:47:21.795Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"ce450934a00cf896e648fde08d0bd1426653d7a2","versionType":"git"},{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"18149b420c9bd93c443e8d1f48a063d71d9f6aa1","versionType":"git"},{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"98d7d76a74e48ec3ddf2e23950adff7edcab9327","versionType":"git"},{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"4d906839d321c2efbf3fed4bc31ffd9ff55b75c0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/panel.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"5.10.37","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.11.21","status":"unaffected","lessThanOrEqual":"5.11.*","versionType":"semver"},{"version":"5.12.4","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/panel.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47063.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47063","state":"PUBLISHED","datePublished":"2024-02-29T22:37:37.429Z","dateUpdated":"2026-05-11T13:47:21.795Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-29T22:33:44.294Z"},"containers":{"cna":{"title":"drm: bridge/panel: Cleanup connector on bridge detach","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"ce450934a00cf896e648fde08d0bd1426653d7a2","versionType":"git"},{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"18149b420c9bd93c443e8d1f48a063d71d9f6aa1","versionType":"git"},{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"98d7d76a74e48ec3ddf2e23950adff7edcab9327","versionType":"git"},{"version":"13dfc0540a575b47b2d640b093ac16e9e09474f6","status":"affected","lessThan":"4d906839d321c2efbf3fed4bc31ffd9ff55b75c0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/panel.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"5.10.37","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.11.21","status":"unaffected","lessThanOrEqual":"5.11.*","versionType":"semver"},{"version":"5.12.4","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/panel.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ce450934a00cf896e648fde08d0bd1426653d7a2"},{"url":"https://git.kernel.org/stable/c/18149b420c9bd93c443e8d1f48a063d71d9f6aa1"},{"url":"https://git.kernel.org/stable/c/98d7d76a74e48ec3ddf2e23950adff7edcab9327"},{"url":"https://git.kernel.org/stable/c/4d906839d321c2efbf3fed4bc31ffd9ff55b75c0"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:47:21.795Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.10.37"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.11.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.12.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47063","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-01T15:52:26.504965Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:14:08.203Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/ce450934a00cf896e648fde08d0bd1426653d7a2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/18149b420c9bd93c443e8d1f48a063d71d9f6aa1","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/98d7d76a74e48ec3ddf2e23950adff7edcab9327","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/4d906839d321c2efbf3fed4bc31ffd9ff55b75c0","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:24:39.562Z"}}]}}}