Bug 2425006 (CVE-2023-54047) - CVE-2023-54047 kernel: drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
Summary: CVE-2023-54047 kernel: drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
Keywords:
Status: NEW
Alias: CVE-2023-54047
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 13:01 UTC by OSIDB Bzimport
Modified: 2025-12-25 09:31 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 13:01:21 UTC
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]


Note You need to log in before you can comment on or make changes to this bug.