Vulnerability in Linux

CVE-2025-40336

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)

EPSS: 0.002 (8.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

  • Linux — versions 99624bdff8670795b678eafa6509aaad3a5c0175, 6.15, 0

References

Frequently asked questions

What is CVE-2025-40336?
CVE-2025-40336 is a high-severity vulnerability in Linux. CVSS score: 8.8/10. Published 2025-12-09.
How severe is CVE-2025-40336?
High severity. CVSS v3 base score is 8.8 out of 10.