PoC Monitor
← All CVEs
CVE-2025-40336published 9 Dec 2025 04:09 UTCData: JSON · API

Linux

drm/gpusvm: fix hmm_pfn_to_map_order() usage

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)

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 99624bdff8670795b678eafa6509aaad3a5c0175, < 08e9fd78ba1b9e95141181c69cc51795c9888157
  • >= 99624bdff8670795b678eafa6509aaad3a5c0175, < c50729c68aaf93611c855752b00e49ce1fdd1558

Fixed in 08e9fd78ba1b9e95141181c69cc51795c9888157, c50729c68aaf93611c855752b00e49ce1fdd1558

Linux Linux
  • 6.15

Fixed in 0, 6.17.8, 6.18

Mitigation

Upgrade Linux to 08e9fd78ba1b9e95141181c69cc51795c9888157 or c50729c68aaf93611c855752b00e49ce1fdd1558 or later.

Upgrade Linux to 0 or 6.17.8 or 6.18 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published9 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.