Vulnerability details

CVE-2025-40336

Linux Linux

drm/gpusvm: fix hmm_pfn_to_map_order() usage

CVSS 3.1
8.8High

Official 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 scores

ScoreVersionSourceVector
8.8High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 6.15 CVEProject cvelistV5 (CNA)
Linux Linux 99624bdff8670795b678eafa6509aaad3a5c0175 ≤ v < 08e9fd78ba1b9e95141181c69cc51795c9888157 CVEProject cvelistV5 (CNA)
Linux Linux 99624bdff8670795b678eafa6509aaad3a5c0175 ≤ v < c50729c68aaf93611c855752b00e49ce1fdd1558 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-12-09
Last updated
2026-10-16
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.17%
Probability of exploitation in 30 days
6.4%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • —