{"id":"CVE-2025-38521","title":"drm/imagination: Fix kernel crash when hard resetting the GPU","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/imagination: Fix kernel crash when hard resetting the GPU\n\nThe GPU hard reset sequence calls pm_runtime_force_suspend() and\npm_runtime_force_resume(), which accordi…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d < 9f852d301f642223c4798f3c13ba15e91165d078","Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d < e066cc6e0f094ca2120f1928d126d56f686cd73e","Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d < d38376b3ee48d073c64e75e150510d7e6b4b04f7","Linux 6.8"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:57:48.793718Z"},"published":"2025-08-16","updated":"2026-11-05","sourceUpdated":"2026-11-05T21:02:40.703Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-38521","references":[{"url":"https://git.kernel.org/stable/c/9f852d301f642223c4798f3c13ba15e91165d078"},{"url":"https://git.kernel.org/stable/c/e066cc6e0f094ca2120f1928d126d56f686cd73e"},{"url":"https://git.kernel.org/stable/c/d38376b3ee48d073c64e75e150510d7e6b4b04f7"}],"tags":["cve.org"],"epss":0.00166,"epssPercentile":0.05869,"ingestedAt":"2026-11-05T22:38:31.976Z","slug":"CVE-2025-38521","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ndrm/imagination: Fix kernel crash when hard resetting the GPU\n\nThe GPU hard reset sequence calls pm_runtime_force_suspend() and\npm_runtime_force_resume(), which according to their documentation should\nonly be used during system-wide PM transitions to sleep states.\n\nThe main issue though is that depending on some internal runtime PM\nstate as seen by pm_runtime_force_suspend() (whether the usage count is\n<= 1), pm_runtime_force_resume() might not resume the device unless\nneeded. If that happens, the runtime PM resume callback\npvr_power_device_resume() is not called, the GPU clocks are not\nre-enabled, and the kernel crashes on the next attempt to access GPU\nregisters as part of the power-on sequence.\n\nReplace calls to pm_runtime_force_suspend() and\npm_runtime_force_resume() with direct calls to the driver's runtime PM\ncallbacks, pvr_power_device_suspend() and pvr_power_device_resume(),\nto ensure clocks are re-enabled and avoid the kernel crash.\n\n## Affected\n\n- `Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d < 9f852d301f642223c4798f3c13ba15e91165d078`\n- `Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d < e066cc6e0f094ca2120f1928d126d56f686cd73e`\n- `Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d < d38376b3ee48d073c64e75e150510d7e6b4b04f7`\n- `Linux 6.8`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}