Skip to main content
CVE-2025-40336VulnerabilityPublished Updated

CVE-2025-40336: Linux kernel · drm/gpusvm: fix hmm_pfn_to_map_order() usage Handle the case where the hmm range

Source GCVE Database

0

Not known to be exploited · CVSS 8.8 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

AI-suggested

A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include this patch to remediate the issue. Since this is a kernel-level vulnerability, upgrading to the fixed kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; therefore, verify with the official Linux kernel advisories or vendor updates for the exact fixed versions and apply them accordingly.

Description

A high-severity vulnerability in the Linux kernel's drm/gpusvm component was resolved by fixing the usage of hmm_pfn_to_map_order(). The issue involved improper handling of cases where the HMM range partially covers a huge page, potentially leading to mapping memory outside the intended range and possibly unmapped by the memory manager. This could result in severe confidentiality, integrity, and availability impacts. The fix aligns the code with the xe userptr implementation and includes kernel documentation improvements.

References

Community reviews

Loading reviews…