CVE-2025-40336

CVE-2025-40336

High · published December 9, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
6.1
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00170 · 6.1th percentile
Published
2025-12-09T21:17Z
References (2)
EPSS history
Timeline
  • 09 DEC 04:09Z
    drm/gpusvm: fix hmm_pfn_to_map_order() usage
    cvelistv5