CVE-2023-54047

drm/rockchip: dw_hdmi: cleanup drm encoder during unbind

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8e3b16e2117409625b89807de3912ff773aea354 to before 110d4202522373d629d14597af9bac97eb58bd67Affected
  • 8e3b16e2117409625b89807de3912ff773aea354 to before 218fe9b624545f4bcfb16cdb35ac3d60c8b0d8c7Affected
  • 8e3b16e2117409625b89807de3912ff773aea354 to before b5af48eedcb53491c02ded55d5991e03d6da6dbfAffected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 6.1.30 through 6.1.*Not affected
  • 6.3.4 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.