CVE-2025-40340
BaseFortify
Publication date: 2025-12-09
Last updated on: 2025-12-09
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a flaw in the Linux kernel's drm/xe component where an 'oops' (kernel crash) occurs in the xe_gem_fault function during the core_hotunplug test. The issue happens when a process memory maps and unlocks due to FAULT_FLAG_RETRY_NOWAIT logic but ends up with no process memory left. This causes a function to return VM_FAULT_NOPAGE because there is nothing left to populate, leading to a null pointer dereference in mem_type_is_vram due to a NULL resource pointer, resulting in a kernel crash.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash (kernel oops) during specific operations involving memory management in the drm/xe component. This can lead to system instability or downtime, especially when running certain tests or workloads that trigger this condition.