drm/amdkfd: Fix mmap write lock not release (Linux Linux)

CVE-2025-40332
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected e64be12f8401819662e608efa247638b61d023cd < e2105ba1c262dcaa9573f11844b6e1e1ca762c3f ; affected f844732e3ad9c4b78df7436232949b8d2096d1a6 < f7569ef1cf978aa87aa81b5e9bf40a77497f3685 ; affected f844732e3ad9c4b78df7436232949b8d2096d1a6 < 7574f30337e19045f03126b4c51f525b84e5049e ; affected 177660d7ecb34298dab5f0d1efc7e8b02f934551 ; affected 5a3c09bd25cc0a55ec9c048710d379fa2c84b4e7 ; affected 6.12.24 < 6.12.58
Linux · Linuxaffected 6.15 ; unaffected 0 < 6.15 ; unaffected 6.12.58 ≤ 6.12.* ; unaffected 6.17.8 ≤ 6.17.* ; unaffected 6.18 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD