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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:46.586Z
- Modified: 2026-11-30T14:19:14.360Z
- Assigned by: Linux

## Description

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

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

The system-sleep PM callbacks fetch the driver state via
dev_get_drvdata() 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,
  dev_get_drvdata() returns NULL.

- After ->unbind(), or when ->bind() fails past platform_set_drvdata(),
  drvdata is left pointing to memory obtained via drmm_kzalloc(), 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 128a9bf8ace290d86d2805c06f3b0e4cfab75de0 before 0259bf47f8f78297777c12f10e11c869fef51616; from 128a9bf8ace290d86d2805c06f3b0e4cfab75de0 before 3557e9c2b0047ef18841c19d4ea2cbc7699af834; from 128a9bf8ace290d86d2805c06f3b0e4cfab75de0 before b6e19848c9db535d81d6db85c7cc1324e6611791; 6.13 (not affected: before 6.13; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/0259bf47f8f78297777c12f10e11c869fef51616>
- <https://git.kernel.org/stable/c/3557e9c2b0047ef18841c19d4ea2cbc7699af834>
- <https://git.kernel.org/stable/c/b6e19848c9db535d81d6db85c7cc1324e6611791>

## Sources

- CVE List: [CVE-2026-139440](https://www.cve.org/CVERecord?id=CVE-2026-139440), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139440](https://nvd.nist.gov/vuln/detail/CVE-2026-139440), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139440 · Whole record: https://cve.day/CVE-2026-139440.json · Rebuilt by cve.day 2026-11-30T14:33:24.315Z
