CVE-2026-139440: drm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/rockchip: dwhdmiqp: Fix invalid drvdata access in PM ops

The system-sleep PM callbacks fetch the driver state via devgetdrvdata() and dereference it unconditionally. However, the platform device is bound by ->probe(), which merely registers a component, hence the callbacks may well run when no valid state is available:

- Before the aggregate driver calls ->bind(), e.g. when the system suspends while probing is still deferred waiting for the VOP, devgetdrvdata() returns NULL.

- After ->unbind(), or when ->bind() fails past platformsetdrvdata(), drvdata is left pointing to memory obtained via drmmkzalloc(), which is released together with the DRM device, while this platform device remains bound and PM-capable.

Publish the driver data only after ->bind() completes successfully, and clear it in ->unbind(). This ensures that a non-NULL drvdata always represents live state, allowing each PM callback to rely on a single NULL check.

Affected Software

1 affected component
Linux Linux kernel (Rockchip DW HDMI QP DRM driver)

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    For drm/rockchip dw_hdmi_qp, publish driver data only after ->bind() succeeds and clear it in ->unbind(), so PM callbacks do not use stale or unavailable drvdata.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel Rockchip DW HDMI QP DRM driver are affected when its system-sleep power-management callbacks can run while the component has not successfully bound, after it has unbound, or after binding fails.

2

What condition triggers the invalid access?

A system suspend or other system-sleep PM callback must occur while dev_get_drvdata() returns no valid live driver state. This can happen during deferred probing while waiting for the VOP, or after driver state allocated with drmm_kzalloc() has been released but stale drvdata remains.

3

How does the fix prevent the issue?

The fix publishes driver data only after bind completes successfully and clears it during unbind. PM callbacks can then use a NULL check so that non-NULL drvdata represents live state.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203