CVE-2025-38703
published high CVSS 3.1 · 7.8drm/xe: Make dma-fences compliant with the safe access rules
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdd08ebf6c3525a7ea2186e636df064ea47281987 to < b17fcce70733c211cb5dabf54f4f9491920b1d92 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < ba37807d08bae67de6139346a85650cab5f6145a · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 683b0e397dad9f26a42dcacf6f7f545a77ce6c06 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 6bd90e700b4285e6a7541e00f969cab0d696adde · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.43 through 6.12.* (unaffected · semver) · 6.15.11 through 6.15.* (unaffected · semver) · 6.16.2 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.43.1.el10_1 | ALSA-2026:4012 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.43.1.el10_1 | ALSA-2026:4012 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.24.1.el9_7 | ALSA-2026:0793 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-124.43.1.el10_1 | ELSA-2026-4012 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The attack requires ioctls on the local DRM render node (`/dev/dri/renderD128`) plus a sync_file fd; there is no remote or adjacent-network path to the xe exec-queue lifecycle. AC:L - No race is involved — once `kfree(ge)` runs the dangling `fence->sched` pointer is permanently stale, so the attacker controls every step (create queue, export sync_file, destroy queue, spray the slab at leisure, then read) and can retry indefinitely. PR:L - All required ioctls (XE_EXEC_QUEUE_CREATE/DESTROY, XE_EXEC, SYNCOBJ_EXPORT_SYNC_FILE, SYNC_IOC_FILE_INFO) are `DRM_RENDER_ALLOW` with no `DRM_AUTH` or capability check, so any local user with render-node access — the default for logged-in desktop users, Android/ChromeOS apps, and GPU-passthrough containers — can exploit it. UI:N - The attacker performs the entire sequence within its own process using its own exec queue and its own exported fence; no victim action is needed. S:U - The use-after-free occurs in kernel slab memory and the impact stays within the kernel's security authority — no VM, IOMMU, or hypervisor boundary is crossed. C:H - `sync_fill_fence_info()` `strscpy()`s from the UAF-derived `name` pointer into `info->obj_name` and copies it to userspace, so after heap-spraying the freed `xe_guc_exec_queue` slot the attacker controls that pointer and obtains a repeatable arbitrary kernel-memory read primitive. I:H - This is a use-after-free of a slab object whose contents the attacker can groom, and the companion `fence->lock` defect makes `spin_lock()` write into the freed `struct xe_gt`, giving corruption of reallocated kernel objects that is leverageable for control-flow hijack. A:H - Dereferencing the stale `fence->sched` and the resulting wild `name` pointer readily oopses the kernel, and locking a freed `fence->lock` corrupts or deadlocks unrelated allocations, each producing a full system crash.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dd08ebf6c3525a7ea2186e636df064ea47281987 to < b17fcce70733c211cb5dabf54f4f9491920b1d92 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < ba37807d08bae67de6139346a85650cab5f6145a (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 683b0e397dad9f26a42dcacf6f7f545a77ce6c06 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 6bd90e700b4285e6a7541e00f969cab0d696adde (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.43 through 6.12.* (unaffected · semver)6.15.11 through 6.15.* (unaffected · semver)6.16.2 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
drm/xe: Make dma-fences compliant with the safe access rules
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cf56d4d3031ed457257aeefe540eb9d841522401d2ce4a1d49e55a5dbe83b3d7
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record