CVE-2025-40336

High

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)

SeverityHigh
CVSS8.8
Exploit probability—
ProductLinux
PublishedDec 9, 2025
First seenDec 9, 2025

How to fix

Update
  • Linux Linux08e9fd78ba1b9e95141181c69cc51795c9888157, c50729c68aaf93611c855752b00e49ce1fdd1558 or later

Affected products

ProductAffected versionsFixed in
Linux Linux99624bdff8670795b678eafa6509aaad3a5c0175 ≤ v < 08e9fd78ba1b9e95141181c69cc51795c9888157, 99624bdff8670795b678eafa6509aaad3a5c0175 ≤ v < c50729c68aaf93611c855752b00e49ce1fdd1558, 6.1508e9fd78ba1b9e95141181c69cc51795c9888157, c50729c68aaf93611c855752b00e49ce1fdd1558

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-40336 · Linux · Dark Radar