# CVE-2023-54047: drm/rockchip: dw_hdmi: cleanup drm encoder during unbind

- Severity: not scored yet
- 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: 2025-12-24T12:22:58.218Z
- Modified: 2026-06-17T06:46:42.547Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/rockchip: dw_hdmi: cleanup drm encoder during unbind

This fixes a use-after-free crash during rmmod.

The DRM encoder is embedded inside the larger rockchip_hdmi,
which is allocated with the component. The component memory
gets freed before the main drm device is destroyed. Fix it
by running encoder cleanup before tearing down its container.

[moved encoder cleanup above clk_disable, similar to bind-error-path]

(As written by CVE List.)

## Affected

- Linux Linux: from 8e3b16e2117409625b89807de3912ff773aea354 before 110d4202522373d629d14597af9bac97eb58bd67; from 8e3b16e2117409625b89807de3912ff773aea354 before 218fe9b624545f4bcfb16cdb35ac3d60c8b0d8c7; from 8e3b16e2117409625b89807de3912ff773aea354 before b5af48eedcb53491c02ded55d5991e03d6da6dbf; 4.9 (not affected: before 4.9; from 6.1.30 up to 6.1.*; from 6.3.4 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/110d4202522373d629d14597af9bac97eb58bd67>
- <https://git.kernel.org/stable/c/218fe9b624545f4bcfb16cdb35ac3d60c8b0d8c7>
- <https://git.kernel.org/stable/c/b5af48eedcb53491c02ded55d5991e03d6da6dbf>

## Sources

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

---

Page: https://cve.day/CVE-2023-54047 · Whole record: https://cve.day/CVE-2023-54047.json · Rebuilt by cve.day 2026-11-25T22:58:35.155Z
