CVE-2025-38521
Linux Debian vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2025-38521) has been identified and resolved in the drm/imagination component. The issue was discovered on August 16, 2025, and involves a kernel crash scenario that occurs during the GPU hard reset sequence (NVD).

Technical details

The vulnerability stems from improper usage of pmruntimeforcesuspend() and pmruntimeforceresume() functions during GPU hard reset operations. These functions should only be used during system-wide PM transitions to sleep states. The core issue arises when pmruntimeforcesuspend() evaluates internal runtime PM state (specifically when usage count is <= 1), causing pmruntimeforceresume() to potentially skip device resumption. This results in the runtime PM resume callback pvrpowerdevice_resume() not being executed, leaving GPU clocks disabled and causing a kernel crash on subsequent GPU register access attempts during power-on sequences (NVD).

Impact

When exploited, this vulnerability leads to kernel crashes during GPU operations, specifically when attempting to access GPU registers as part of the power-on sequence. This can result in system instability and potential denial of service conditions (NVD).

Mitigation and workarounds

The issue has been fixed by replacing calls to pmruntimeforcesuspend() and pmruntimeforceresume() with direct calls to the driver's runtime PM callbacks, pvrpowerdevicesuspend() and pvrpowerdeviceresume(). This ensures proper re-enabling of GPU clocks and prevents kernel crashes (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management