CVE-2023-54047

Source
https://cve.org/CVERecord?id=CVE-2023-54047
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54047.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-54047
Downstream
Related
Published
2025-12-24T12:22:58.218Z
Modified
2026-04-02T09:45:32.054530Z
Summary
drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
Details

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]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54047.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8e3b16e2117409625b89807de3912ff773aea354
Fixed
110d4202522373d629d14597af9bac97eb58bd67
Fixed
218fe9b624545f4bcfb16cdb35ac3d60c8b0d8c7
Fixed
b5af48eedcb53491c02ded55d5991e03d6da6dbf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54047.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
6.1.30
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54047.json"