CVE-2025-38521

published 16 Aug 2025 · updated 7 Nov 2026

drm/imagination: Fix kernel crash when hard resetting the GPU

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e066cc6e0f094ca2120f1928d126d56f686cd73e, Kernel 6.12.39, Kernel d38376b3ee48d073c64e75e150510d7e6b4b04f7 and 2 more.

In the Linux kernel, the following vulnerability has been resolved: drm/imagination: Fix kernel crash when hard resetting the GPU The GPU hard reset sequence calls pm_runtime_force_suspend() and pm_runtime_force_resume(), which according to their documentation should only be used during system-wide PM transitions to sleep states. The main issue though is that depending on some internal runtime PM state as seen by pm_runtime_force_suspend() (whether the usage count is <= 1), pm_runtime_force_resume() might not resume the device unless needed. If that happens, the runtime PM resume callback pvr_power_device_resume() is not called, the GPU clocks are not re-enabled, and the kernel crashes on the next attempt to access GPU registers as part of the power-on sequence. Replace calls to pm_runtime_force_suspend() and pm_runtime_force_resume() with direct calls to the driver's runtime PM callbacks, pvr_power_device_suspend() and pvr_power_device_resume(), to ensure clocks are re-enabled and avoid the kernel crash.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=cc1aeedb98ad347c06ff59e991b2f94dfb4c565d <e066cc6e0f094ca2120f1928d126d56f686cd73e, >=6.8 <6.12.39, =6.16, >=cc1aeedb98ad347c06ff59e991b2f94dfb4c565d <d38376b3ee48d073c64e75e150510d7e6b4b04f7, >=6.13 <6.15.7, =6.8, >=cc1aeedb98ad347c06ff59e991b2f94dfb4c565d <9f852d301f642223c4798f3c13ba15e91165d078e066cc6e0f094ca2120f1928d126d56f686cd73e, 6.12.39, d38376b3ee48d073c64e75e150510d7e6b4b04f7, 6.15.7, 9f852d301f642223c4798f3c13ba15e91165d078
linux-kernel: Kernel>=6.13.0 <6.15.7, >=6.8.0 <6.12.396.15.7, 6.12.39

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38521 severity on Zeptric[![CVE-2025-38521](https://zeptric.io/badge/cve/CVE-2025-38521.svg)](https://zeptric.io/cve/CVE-2025-38521)