CVE-2026-139439: drm/rockchip: dw_hdmi_qp: Cancel pending HPD work on suspend
In the Linux kernel, the following vulnerability has been resolved:
drm/rockchip: dwhdmiqp: Cancel pending HPD work on suspend
The HPD threaded handler debounces hotplug events by delaying hdmi->hpdwork for 150 ms. Nothing discards that work when the system goes to sleep: drmkmshelperpolldisable() only disables the HPD IRQ line via the bridge .hpddisable() op, and disableirq() 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 ->suspendnoirq(), 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the drm/rockchip dw_hdmi_qp suspend callback, cancel pending HDMI hotplug-detection (HPD) work.
Event History
Frequently Asked Questions
Which systems are exposed to this suspend-time hang?
Systems using the Rockchip dw_hdmi_qp DRM/HDMI path are exposed when a delayed HDMI hotplug-detect debounce work item is pending as the system suspends. The failure occurs if that work expires after the HDMI controller power domain has been turned off.
What condition is required to trigger the issue?
A hotplug event must schedule the 150 ms HPD debounce work shortly before or during system suspend. When the delayed work runs during suspend, it can probe the connector and read EDID data over DDC while the HDMI hardware is unpowered, potentially hanging the system.
Does disabling the HPD IRQ during suspend prevent the problem?
No. Disabling the IRQ waits for the threaded handler, but does not cancel delayed HPD work that the handler may already have armed. The remediation explicitly cancels pending HPD work in the suspend callback.
What is the operational impact of the vulnerability?
The affected system may hang during suspend because the delayed work accesses an unpowered HDMI controller. The provided information describes a reliability and availability impact, not data exposure or privilege escalation.