drm/rockchip: dw_hdmi: cleanup drm encoder during unbind (Linux Linux)

CVE-2023-54047
Not available

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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]

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 8e3b16e2117409625b89807de3912ff773aea354 < 110d4202522373d629d14597af9bac97eb58bd67 ; affected 8e3b16e2117409625b89807de3912ff773aea354 < 218fe9b624545f4bcfb16cdb35ac3d60c8b0d8c7 ; affected 8e3b16e2117409625b89807de3912ff773aea354 < b5af48eedcb53491c02ded55d5991e03d6da6dbf
Linux · Linuxaffected 4.9 ; unaffected 0 < 4.9 ; unaffected 6.1.30 ≤ 6.1.* ; unaffected 6.3.4 ≤ 6.3.* ; unaffected 6.4 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD