CVE-2025-38521
drm/imagination: Fix kernel crash when hard resetting the GPU
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < 9f852d301f642223c4798f3c13ba15e91165d078; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < e066cc6e0f094ca2120f1928d126d56f686cd73e; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < d38376b3ee48d073c64e75e150510d7e6b4b04f7
- Anyone running Linux 6.8
Vulnerability facts
- Affected
- Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < 9f852d301f642223c4798f3c13ba15e91165d078; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < e066cc6e0f094ca2120f1928d126d56f686cd73e; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < d38376b3ee48d073c64e75e150510d7e6b4b04f7; Linux 6.8
- Fixed in
- Linux 9f852d301f642223c4798f3c13ba15e91165d078
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-668
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < 9f852d301f642223c4798f3c13ba15e91165d078; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < e066cc6e0f094ca2120f1928d126d56f686cd73e; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < d38376b3ee48d073c64e75e150510d7e6b4b04f7 | — | cvelist |
| Linux | 6.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38521. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38521.md Affected: Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < 9f852d301f642223c4798f3c13ba15e91165d078; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < e066cc6e0f094ca2120f1928d126d56f686cd73e; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < d38376b3ee48d073c64e75e150510d7e6b4b04f7; Linux 6.8 Fixed in: Linux 9f852d301f642223c4798f3c13ba15e91165d078 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-38521 being exploited?
There is no confirmed exploitation: CVE-2025-38521 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38521?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38521?
Linux >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < 9f852d301f642223c4798f3c13ba15e91165d078; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < e066cc6e0f094ca2120f1928d126d56f686cd73e; >= cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, < d38376b3ee48d073c64e75e150510d7e6b4b04f7; Linux 6.8.
Is there a fix for CVE-2025-38521?
Yes. Fixed in Linux 9f852d301f642223c4798f3c13ba15e91165d078. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38521?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.