Bug 2420425 (CVE-2025-40332) - CVE-2025-40332 kernel: drm/amdkfd: Fix mmap write lock not release
Summary: CVE-2025-40332 kernel: drm/amdkfd: Fix mmap write lock not release
Keywords:
Status: NEW
Alias: CVE-2025-40332
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-09 05:02 UTC by OSIDB Bzimport
Modified: 2025-12-11 13:53 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-09 05:02:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.