drm/xe/sync: Cleanup partially initialized sync on parse failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/sync: Cleanup partially initialized sync on parse failure
xe_sync_entry_parse() can allocate references (syncobj, fence, chain fence, or user fence) before hitting a later failure path. Several of those paths returned directly, leaving partially initialized state and leaking refs.
Route these error paths through a common free_sync label and call xe_sync_entry_cleanup(sync) before returning the error.
(cherry picked from commit f939bdd9207a5d1fc55cced5459858480686ce22)
From the CVE record · Linux
In the Linux kernel’s drm/xe/sync component, xe_sync_entry_parse() can leave allocated references behind when parsing fails after partial initialization. This can leak references; the input does not specify how an attacker could trigger the failure or whether authentication or user interaction is required.
Engineers running Linux kernels with the drm/xe/sync component should check whether their kernel includes the fix; affected versions are not specified.