# CVE-2025-38521: drm/imagination: Fix kernel crash when hard resetting the GPU

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-08-16T10:55:08.373Z
- Modified: 2026-11-05T21:18:34.047Z
- Weaknesses: CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from cc1aeedb98ad347c06ff59e991b2f94dfb4c565d before 9f852d301f642223c4798f3c13ba15e91165d078; from cc1aeedb98ad347c06ff59e991b2f94dfb4c565d before e066cc6e0f094ca2120f1928d126d56f686cd73e; from cc1aeedb98ad347c06ff59e991b2f94dfb4c565d before d38376b3ee48d073c64e75e150510d7e6b4b04f7; 6.8 (not affected: before 6.8; from 6.12.39 up to 6.12.*; from 6.15.7 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.8 before 6.12.39; from 6.13 before 6.15.7; 6.16

## References

- <https://git.kernel.org/stable/c/9f852d301f642223c4798f3c13ba15e91165d078> (patch)
- <https://git.kernel.org/stable/c/e066cc6e0f094ca2120f1928d126d56f686cd73e> (patch)
- <https://git.kernel.org/stable/c/d38376b3ee48d073c64e75e150510d7e6b4b04f7> (patch)

## Sources

- CVE List: [CVE-2025-38521](https://www.cve.org/CVERecord?id=CVE-2025-38521), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38521](https://nvd.nist.gov/vuln/detail/CVE-2025-38521), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38521 · Whole record: https://cve.day/CVE-2025-38521.json · Rebuilt by cve.day 2026-11-25T22:59:02.623Z
