Skip to main content
Network Thinking Solutions Logo

CVE-2025-40336

Linux kernel: drm/gpusvm: fix hmm_pfn_to_map_order() usage

All CVEs
CVE-2025-40336Published 12/9/2025

Linux kernel: drm/gpusvm: fix hmm_pfn_to_map_order() usage

Vendor advisory
CVSS8.8High

Overview

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)

Published
12/9/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 99624bdff8670795b678eafa6509aaad3a5c0175, < 08e9fd78ba1b9e95141181c69cc51795c9888157

Verify advisory

Source
Linux
Linux
≥ 99624bdff8670795b678eafa6509aaad3a5c0175, < c50729c68aaf93611c855752b00e49ce1fdd1558

Verify advisory

Source
Linux
Linux
6.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.