{"id":"CVE-2026-139440","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:14.360","lastModified":"2026-11-30T14:19:14.360","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"128a9bf8ace290d86d2805c06f3b0e4cfab75de0","lessThan":"0259bf47f8f78297777c12f10e11c869fef51616","versionType":"git","status":"affected"},{"version":"128a9bf8ace290d86d2805c06f3b0e4cfab75de0","lessThan":"3557e9c2b0047ef18841c19d4ea2cbc7699af834","versionType":"git","status":"affected"},{"version":"128a9bf8ace290d86d2805c06f3b0e4cfab75de0","lessThan":"b6e19848c9db535d81d6db85c7cc1324e6611791","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/0259bf47f8f78297777c12f10e11c869fef51616","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3557e9c2b0047ef18841c19d4ea2cbc7699af834","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b6e19848c9db535d81d6db85c7cc1324e6611791","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}