VDB

CVE-2025-38521

CVE-2025-38521 PUBLISHED

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

Reported by linux · Published August 16, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxe066cc6e0f094ca2120f1928d126d56f686cd73e, d38376b3ee48d073c64e75e150510d7e6b4b04f7, 9f852d301f642223c4798f3c13ba15e91165d078, 6.8

Affected products

VendorProductVersions
LinuxLinuxcc1aeedb98ad347c06ff59e991b2f94dfb4c565d, cc1aeedb98ad347c06ff59e991b2f94dfb4c565d, cc1aeedb98ad347c06ff59e991b2f94dfb4c565d
LinuxLinux6.8, 0, 6.12.39
LinuxLinux6.16, 0, 6.12.39
linuxlinux_kernel6.8, 6.8, 6.8

Timeline

  • Aug 16, 2025 EPSS Score (30 in total, the first dated here)
  • Aug 16, 2025 Coalition ESS Score (8 in total, the first dated here)
  • Aug 16, 2025 CVE Published
  • Oct 12, 2025 PoC Published (6 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (163 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (155 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38521
vulnetix vdb fixes CVE-2025-38521

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38521/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›