CVE-2025-38703CWE-416

CVE-2025-38703

High · published September 4, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
6.0
In the wild
Unconfirmed
What it is

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

drm/xe: Make dma-fences compliant with the safe access rules

Xe can free some of the data pointed to by the dma-fences it exports. Most

notably the timeline name can get freed if userspace closes the associated

submit queue. At the same time the fence could have been exported to a

third party (for example a sync_fence fd) which will then cause an use-

after-free on subsequent access.

To make this safe we need to make the driver compliant with the newly

documented dma-fence rules. Driver has to ensure a RCU grace period

between signalling a fence and freeing any data pointed to by said fence.

For the timeline name we simply make the queue be freed via kfree_rcu and

for the shared lock associated with multiple queues we add a RCU grace

period before freeing the per GT structure holding the lock.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00169 · 6.0th percentile
Weakness
CWE-416 · Use After Free
Published
2025-09-04T20:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.12.436.12.43
linux/linux_kernel≥ 6.13, < 6.15.116.15.11
linux/linux_kernel≥ 6.16, < 6.16.26.16.2
References (4)
EPSS history
Timeline
  • 04 SEP 15:32Z
    drm/xe: Make dma-fences compliant with the safe access rules
    cvelistv5