CVE-2025-38309 drm/xe/vm: move xe_svm_init() earlier
A null pointer dereference in the Linux kernel's Xe GPU driver can cause a system crash during virtual memory creation error handling.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38309?
CVE-2025-38309 is a medium-severity vulnerability in Linux kernel, published on 10 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/vm: move xe_svm_init() earlier
In xe_vm_close_and_put() we need to be able to call xe_svm_fini(), however during vm creation we can call this on the error path, before having actually initialised the svm state, leading to various splats followed by a fatal NPD.
(cherry picked from commit 4f296d77cf49fcb5f90b4674123ad7f3a0676165)
Weakness: CWE-908
Which versions are affected by CVE-2025-38309?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38309?
Apply the vendor's patch.
Is CVE-2025-38309 being exploited?
There is no known exploitation of CVE-2025-38309 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38309, GHSA-6f37-h5g7-77g4, UBUNTU-CVE-2025-38309.