{"api_version":"1","generated_at":"2026-12-01T14:33:27+00:00","cve":"CVE-2026-139440","urls":{"html":"https://cve.report/CVE-2026-139440","api":"https://cve.report/api/cve/CVE-2026-139440.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139440","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139440"},"summary":{"title":"drm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops","description":"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 ->probe(), which merely registers a\ncomponent, hence the callbacks may well run when no valid state is\navailable:\n\n- Before the aggregate driver calls ->bind(), 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 ->unbind(), or when ->bind() 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 ->bind() completes successfully, and\nclear it in ->unbind().  This ensures that a non-NULL drvdata always\nrepresents live state, allowing each PM callback to rely on a single\nNULL check.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:14","updated_at":"2026-11-30 14:19:14"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b6e19848c9db535d81d6db85c7cc1324e6611791","name":"https://git.kernel.org/stable/c/b6e19848c9db535d81d6db85c7cc1324e6611791","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3557e9c2b0047ef18841c19d4ea2cbc7699af834","name":"https://git.kernel.org/stable/c/3557e9c2b0047ef18841c19d4ea2cbc7699af834","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0259bf47f8f78297777c12f10e11c869fef51616","name":"https://git.kernel.org/stable/c/0259bf47f8f78297777c12f10e11c869fef51616","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139440","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139440","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 128a9bf8ace290d86d2805c06f3b0e4cfab75de0 0259bf47f8f78297777c12f10e11c869fef51616 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 128a9bf8ace290d86d2805c06f3b0e4cfab75de0 3557e9c2b0047ef18841c19d4ea2cbc7699af834 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 128a9bf8ace290d86d2805c06f3b0e4cfab75de0 b6e19848c9db535d81d6db85c7cc1324e6611791 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0259bf47f8f78297777c12f10e11c869fef51616","status":"affected","version":"128a9bf8ace290d86d2805c06f3b0e4cfab75de0","versionType":"git"},{"lessThan":"3557e9c2b0047ef18841c19d4ea2cbc7699af834","status":"affected","version":"128a9bf8ace290d86d2805c06f3b0e4cfab75de0","versionType":"git"},{"lessThan":"b6e19848c9db535d81d6db85c7cc1324e6611791","status":"affected","version":"128a9bf8ace290d86d2805c06f3b0e4cfab75de0","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.13"},{"lessThan":"6.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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 ->probe(), which merely registers a\ncomponent, hence the callbacks may well run when no valid state is\navailable:\n\n- Before the aggregate driver calls ->bind(), 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 ->unbind(), or when ->bind() 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 ->bind() completes successfully, and\nclear it in ->unbind().  This ensures that a non-NULL drvdata always\nrepresents live state, allowing each PM callback to rely on a single\nNULL check."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:34:46.586Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0259bf47f8f78297777c12f10e11c869fef51616"},{"url":"https://git.kernel.org/stable/c/3557e9c2b0047ef18841c19d4ea2cbc7699af834"},{"url":"https://git.kernel.org/stable/c/b6e19848c9db535d81d6db85c7cc1324e6611791"}],"title":"drm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139440","datePublished":"2026-11-30T13:34:46.586Z","dateReserved":"2026-11-30T13:22:15.934Z","dateUpdated":"2026-11-30T13:34:46.586Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:14","lastModifiedDate":"2026-11-30 14:19:14","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139440","Ordinal":"1","Title":"drm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops","CVE":"CVE-2026-139440","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139440","Ordinal":"1","NoteData":"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 ->probe(), which merely registers a\ncomponent, hence the callbacks may well run when no valid state is\navailable:\n\n- Before the aggregate driver calls ->bind(), 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 ->unbind(), or when ->bind() 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 ->bind() completes successfully, and\nclear it in ->unbind().  This ensures that a non-NULL drvdata always\nrepresents live state, allowing each PM callback to rely on a single\nNULL check.","Type":"Description","Title":"drm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops"}]}}}