CVE-2026-68298: drm/xe/vm: Fix SVM leak on resv obj alloc failure in xe_vm_create()

Published Aug 10, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/vm: Fix SVM leak on resv obj alloc failure in xevmcreate()

Commit 9e9787414882 ("drm/xe/userptr: replace xehmm with gpusvm") made xesvminit() unconditional in xevmcreate() and extended it to also initialize a "simple" gpusvm state for non-fault-mode VMs. The matching xesvmfini() call in xevmcloseandput() was updated to run unconditionally, but the error unwind path in xevmcreate() was not.

On the drmgpuvmresvobjectalloc() failure path, xesvminit() has already succeeded but xesvmfini() is only called when XEVMFLAGFAULTMODE is set. For non-fault-mode VMs this leaves vm->svm.gpusvm partially initialized and leaks the resources allocated by drmgpusvminit().

For fault-mode VMs, xesvminit() additionally acquires the pagemap owner via drmpagemapacquireowner() and the pagemaps via xesvmgetpagemaps(). Those resources are released by xesvmclose(), not xesvmfini(). On the same error path, xesvmclose() is not called either, so fault-mode VMs leak the pagemap owner and pagemaps.

Fix both leaks:

- Call xesvmfini() unconditionally on the errsvmfini path, matching the unconditional xesvminit() call. Move the vm->size = 0 assignment out of the conditional so the xevmisclosed() assert in xesvmfini() (and xesvmclose()) holds for both modes.

- Call xesvmclose() for fault-mode VMs before xesvmfini(), matching the ordering used in xevmcloseandput().

(cherry picked from commit ca2a3587d577ba764e0fe628fb676244fc33ddd4)

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·12:02 PM
Data Sourced
via MITRE·12:02 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68298?

CVE-2026-68298 has a risk score of 18, indicating it is highly critical.

2

How do I fix CVE-2026-68298?

To address CVE-2026-68298, it is recommended to update the Linux kernel to the version that includes the fix.

3

What impact does CVE-2026-68298 have on my system?

CVE-2026-68298 can lead to potential resource leaks when allocating reserved objects, adversely affecting system stability.

4

Is CVE-2026-68298 being actively exploited?

As of now, there is no public information indicating that CVE-2026-68298 is being actively exploited in the wild.

5

What versions of the Linux kernel are affected by CVE-2026-68298?

CVE-2026-68298 affects versions of the Linux kernel prior to the implementation of the fix in the specified commit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203