{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "128a9bf8ace290d86d2805c06f3b0e4cfab75de0"
            },
            {
              "fixed": "0259bf47f8f78297777c12f10e11c869fef51616"
            },
            {
              "fixed": "3557e9c2b0047ef18841c19d4ea2cbc7699af834"
            },
            {
              "fixed": "b6e19848c9db535d81d6db85c7cc1324e6611791"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139440.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops\n\nThe system-sleep PM callbacks fetch the driver state via\ndev_get_drvdata() and dereference it unconditionally.  However, the\nplatform device is bound by -\u003eprobe(), which merely registers a\ncomponent, hence the callbacks may well run when no valid state is\navailable:\n\n- Before the aggregate driver calls -\u003ebind(), e.g. when the system\n  suspends while probing is still deferred waiting for the VOP,\n  dev_get_drvdata() returns NULL.\n\n- After -\u003eunbind(), or when -\u003ebind() fails past platform_set_drvdata(),\n  drvdata is left pointing to memory obtained via drmm_kzalloc(), which\n  is released together with the DRM device, while this platform device\n  remains bound and PM-capable.\n\nPublish the driver data only after -\u003ebind() completes successfully, and\nclear it in -\u003eunbind().  This ensures that a non-NULL drvdata always\nrepresents live state, allowing each PM callback to rely on a single\nNULL check.",
  "id": "CVE-2026-139440",
  "modified": "2026-12-01T20:45:22.747260340Z",
  "published": "2026-11-30T13:34:46.586Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0259bf47f8f78297777c12f10e11c869fef51616"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3557e9c2b0047ef18841c19d4ea2cbc7699af834"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b6e19848c9db535d81d6db85c7cc1324e6611791"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139440.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139440"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "drm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops"
}