CVE-2025-40332

drm/amdkfd: Fix mmap write lock not release

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 23, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Fix mmap write lock not release

If mmap write lock is taken while draining retry fault, mmap write lock is not released because svm_range_restore_pages calls mmap_read_unlock then returns. This causes deadlock and system hangs later because mmap read or write lock cannot be taken.

Downgrade mmap write lock to read lock if draining retry fault fix this bug.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e64be12f8401819662e608efa247638b61d023cd to before e2105ba1c262dcaa9573f11844b6e1e1ca762c3fAffected
  • f844732e3ad9c4b78df7436232949b8d2096d1a6 to before f7569ef1cf978aa87aa81b5e9bf40a77497f3685Affected
  • f844732e3ad9c4b78df7436232949b8d2096d1a6 to before 7574f30337e19045f03126b4c51f525b84e5049eAffected
  • 177660d7ecb34298dab5f0d1efc7e8b02f934551Affected
  • 5a3c09bd25cc0a55ec9c048710d379fa2c84b4e7Affected
  • 6.12.24 to before 6.12.58Affected
  • 6.13.12 to before 6.14Affected
  • 6.14.3 to before 6.15Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.12.58 through 6.12.*Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.