CVE-2025-38703
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
04/09/2025
Last modified:
24/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/xe: Make dma-fences compliant with the safe access rules<br />
<br />
Xe can free some of the data pointed to by the dma-fences it exports. Most<br />
notably the timeline name can get freed if userspace closes the associated<br />
submit queue. At the same time the fence could have been exported to a<br />
third party (for example a sync_fence fd) which will then cause an use-<br />
after-free on subsequent access.<br />
<br />
To make this safe we need to make the driver compliant with the newly<br />
documented dma-fence rules. Driver has to ensure a RCU grace period<br />
between signalling a fence and freeing any data pointed to by said fence.<br />
<br />
For the timeline name we simply make the queue be freed via kfree_rcu and<br />
for the shared lock associated with multiple queues we add a RCU grace<br />
period before freeing the per GT structure holding the lock.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8 (including) | 6.12.43 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.15.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.16 (including) | 6.16.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



