CVE Catalog

CVE-2025-40336

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel's DRM subsystem (drm/gpusvm), improper use of the hmm_pfn_to_map_order() function was found. When the hmm range partially covers a huge page (e.g., 2 MB), memory outside the range may be mapped, leading to undesirable effects. The fix is based on the xe driver's userptr code.

Risk Assessment

Improper memory mapping can lead to access to memory areas outside the intended range, potentially causing memory isolation violations, data leaks, or system crashes.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that correctly handles partial huge page coverage.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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)

Vulnerability data from NVD (NIST) · CISA KEV · EPSS