Description
In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: dw_hdmi_qp: Cancel pending HPD work on suspend The HPD threaded handler debounces hotplug events by delaying hdmi->hpd_work for 150 ms. Nothing discards that work when the system goes to sleep: drm_kms_helper_poll_disable() only disables the HPD IRQ line via the bridge .hpd_disable() op, and disable_irq() merely waits for the threaded handler, which has already returned after arming the timer. If the debounce expires during suspend, its non-freezable work may probe the connector and read the EDID over DDC. Since genpd powers off the HDMI controller's power domain in ->suspend_noirq(), this access may hit unpowered hardware and hang the system. Cancel the work in the suspend callback. The DRM device is registered as a consumer of the HDMI device, so it always suspends first and the HPD IRQ is already disabled by that point, meaning nothing can re-arm the work behind our back. No counterpart is needed on resume, as the work gets scheduled again on the next hotplug interrupt.
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
128a9bf8ace290d86d2805c06f3b0e4cfab75de0 to < d3cc8ebc0470d8348ebd45afd99e065b1552e2a7affected128a9bf8ace290d86d2805c06f3b0e4cfab75de0 to < f9465dd05f70871300d1f1eba3d9dda0c7ab6e5caffected128a9bf8ace290d86d2805c06f3b0e4cfab75de0 to < 5d0aa771a5308f6a6c83eeaa89351a472ae580c3affected
Linux Linux
Default version status: affected
6.13affected0 to < 6.13unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected