# CVE-2025-38309: drm/xe/vm: move xe_svm_init() earlier

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-07-10T07:42:18.701Z
- Modified: 2026-06-17T09:16:35.663Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 6fd979c2f33150e8261d87d2946f94f66f22ddaa before f5e6a6a8aa46d44ec7a240766cf3b7dd077718b9; from 6fd979c2f33150e8261d87d2946f94f66f22ddaa before 8cf8cde41ad01150afbd1327ad1942387787f7fd; 6.15 (not affected: before 6.15; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.15 before 6.15.3

## References

- <https://git.kernel.org/stable/c/f5e6a6a8aa46d44ec7a240766cf3b7dd077718b9> (patch)
- <https://git.kernel.org/stable/c/8cf8cde41ad01150afbd1327ad1942387787f7fd> (patch)

## Sources

- CVE List: [CVE-2025-38309](https://www.cve.org/CVERecord?id=CVE-2025-38309), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38309](https://nvd.nist.gov/vuln/detail/CVE-2025-38309), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38309 · Whole record: https://cve.day/CVE-2025-38309.json · Rebuilt by cve.day 2026-11-25T22:59:01.068Z
