CVE-2025-40336
Last modified
CVE-2025-40336 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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). EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 99624bdff8670795b678eafa6509aaad3a5c0175, < 08e9fd78ba1b9e95141181c69cc51795c9888157; >= 99624bdff8670795b678eafa6509aaad3a5c0175, < c50729c68aaf93611c855752b00e49ce1fdd1558 |
| Linux | Linux | 6.15 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40336?
How severe is CVE-2025-40336?
How do I fix CVE-2025-40336?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40330In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40331In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40332In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40333In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40334In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2025-40335In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40337In the Linux kernel, the following vulnerability has been re…8.2
- CVE-2025-40338In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40339In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4034A vulnerability classified as critical was found in projectw…9.8
- CVE-2025-40340In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40341In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40336?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
