Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/gpusvm: fix hmm_pfn_to_map_order() usage Handle the case where the hmm range partially covers a huge page (like 2M), otherwise we can potentially end up doing something nasty like mapping memory which is outside the range, and maybe not even mapped by the mm. Fix is based on the xe userptr code, which in a future patch will directly use gpusvm, so needs alignment here. v2: - Add kernel-doc (Matt B) - s/fls/ilog2/ (Thomas)
CVSS Score
HIGH
References
- https://git.kernel.org/stable/c/08e9fd78ba1b9e95141181c69cc51795c9888157
- https://git.kernel.org/stable/c/c50729c68aaf93611c855752b00e49ce1fdd1558
FAQ
What is CVE-2025-40336?
CVE-2025-40336 is a vulnerability with a CVSS score of 8.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: drm/gpusvm: fix hmm_pfn_to_map_order() usage Handle the case where the hmm range partially covers a huge page (like 2M), otherwise...
How severe is CVE-2025-40336?
CVE-2025-40336 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-40336?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.