Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-54047

drm/rockchip: dw_hdmi: cleanup drm encoder during unbind

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]

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8e3b16e2117409625b89807de3912ff773aea354 to < 110d4202522373d629d14597af9bac97eb58bd67affected
  • 8e3b16e2117409625b89807de3912ff773aea354 to < 218fe9b624545f4bcfb16cdb35ac3d60c8b0d8c7affected
  • 8e3b16e2117409625b89807de3912ff773aea354 to < b5af48eedcb53491c02ded55d5991e03d6da6dbfaffected

Linux Linux

Default version status: affected

  • 4.9affected
  • 0 to < 4.9unaffected
  • 6.1.30 to ≤ 6.1.*unaffected
  • 6.3.4 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References