CVE-2026-68266
published high CVSS 3.1 · 7.8drm/xe: Hold a dma-buf reference for imported BOs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdd08ebf6c3525a7ea2186e636df064ea47281987 to < c22d65d62b3318e237c0e5b1177d90ab83d9fe06 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < c1954c66662de477a8f4309335b775f7b07bd28b · dd08ebf6c3525a7ea2186e636df064ea47281987 to < ba8c4cbb31c6f81fa5b12d6e28f1f706040aff48 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 62775525a27c3b0d56382e08ba81ee2d322058b6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.103 through 6.12.* (unaffected · semver) · 6.18.42 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 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-211.60.1.el10_2 | ALSA-2026:71602 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.107-1~deb12u1 | DLA-4788-1 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.60.1.el10_2 | ALSA-2026:71602 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| Debian | trixie | linux | Advisory build | 6.12.105-1 | DSA-6466-1 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-71602 |
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: Hold a dma-buf reference for imported BOs An imported dma-buf BO is created as a ttm_bo_type_sg BO whose reservation object is the exporter's dma_buf->resv. The importer, however, only takes a dma-buf reference after a successful dma_buf_dynamic_attach(). Until then nothing keeps the exporter alive, so if the exporter is freed while the BO still references its resv, a later access to that resv is a use-after-free: Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b9c Workqueue: ttm ttm_bo_delayed_delete [ttm] RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0 This can be reached on two paths: - dma_buf_dynamic_attach() fails, or - ttm_bo_init_reserved() fails during BO creation. In both cases the BO already has bo->base.resv pointing at the exporter resv, and sg BOs are always torn down via ttm_bo_delayed_delete(), which locks bo->base.resv asynchronously - potentially after the exporter has been freed. Take the dma-buf reference in xe_bo_init_locked(), before ttm_bo_init_reserved(), so it also covers a creation failure there, and release it in xe_ttm_bo_destroy(). The reference is held for the whole BO lifetime, keeping the shared resv alive on every path. v2: - Reworked the fix to avoid creating the imported sg BO before dma_buf_dynamic_attach() succeeds. - Attach with importer_priv == NULL and make invalidate_mappings ignore incomplete imports. v3: - Dropped the xe-side reordering approach since importer_priv must be valid when dma_buf_dynamic_attach() publishes the attachment. - Per Christian's suggestion on the v1 thread, keyed the check on import_attach rather than removing the sg guard entirely. - Fixes both xe and amdgpu in a single TTM patch. v4: - Moved import_attach check to after dma_resv_copy_fences() so fences are copied before returning for successful imports (Thomas). - Removed exporter-alive claim from commit message (Thomas). v5: - Add drm/xe patch to keep imported sg BOs off the LRU before attach succeeds; the TTM fix alone is not sufficient for xe if the BO is already LRU-visible. (Thomas) v4 patch: https://patchwork.freedesktop.org/patch/736663/?series=169129&rev=2 - Patch 1 (drm/ttm) carries Christian's Reviewed-by from v4. v6: - Reworked the fix based on Thomas' suggestion. Instead of the TTM resv individualization (v1-v5) plus the xe off-LRU/placement handling (v5), just hold a dma-buf reference for the imported BO lifetime so the shared resv can never be freed while the BO still references it. Single xe patch, no TTM change. (Thomas) - Take the reference in xe_bo_init_locked() before ttm_bo_init_reserved() so a TTM creation failure is covered too (Thomas). - Dropped the v5 series (drm/ttm + drm/xe off-LRU); the off-LRU approach also regressed in CI BAT via ttm_bo_pipeline_gutting() creating a ghost BO that outlived the exporter. Link to v5: https://patchwork.freedesktop.org/series/169984/ v7: - Move changelog above --- so it stays in the commit message. - Reorder changelog entries oldest-to-newest. (Thomas) (cherry picked from commit 3516f3fae6be35642f8f06f8a218da6425c0306a)
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 bug is reached through DRM_IOCTL_PRIME_FD_TO_HANDLE on an Intel xe DRM render node (/dev/dri/renderD*), which requires local access to the device file; there is no remote or network-facing path into xe_gem_prime_import(). AC:L - The attacker fully controls both halves: they pick an exporter whose attach fails deterministically (drm_gem_map_attach() returns -ENOSYS, xe_dma_buf_attach() returns -EOPNOTSUPP for non-p2p cross-device imports) or induce the -ENOMEM paths, then simply close the dma-buf fd while the sg BO teardown is still queued on the TTM workqueue. No condition outside their control is needed. PR:L - DRM_IOCTL_PRIME_FD_TO_HANDLE is marked DRM_RENDER_ALLOW, so any unprivileged local user holding the normally world/group-accessible render node (any GUI user on a distro, any app on Android/ChromeOS) can perform the import; no capabilities are checked. UI:N - The entire sequence — export a dma-buf, import it into xe, close the fd — is performed by the attacker's own process; no victim action or cooperation is required. S:U - The use-after-free occurs on kernel heap memory within the same kernel security authority; there is no crossing of a VM, IOMMU, or sandbox boundary. C:H - The freed dma_buf/dma_resv is a slab object the attacker can reclaim with sprayed content before ttm_bo_delayed_delete() dereferences it, so the stale bo->base.resv can be aimed at attacker-chosen kernel addresses and the resulting ww_mutex/fence walks leaked back, giving arbitrary kernel memory disclosure. I:H - dma_resv_lock()/dma_resv_unlock() and the subsequent ttm_bo_cleanup_memtype_use() perform writes and list manipulation through the dangling pointer into reclaimed heap memory, so the UAF yields a controllable write primitive usable for control-flow hijacking and privilege escalation. A:H - Even unexploited, the flaw reliably produces a kernel oops — the reported general protection fault on poisoned memory in mutex_can_spin_on_owner() from the ttm workqueue — which is a fatal fault in kernel worker context and takes down the GPU stack or the whole machine.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dd08ebf6c3525a7ea2186e636df064ea47281987 to < c22d65d62b3318e237c0e5b1177d90ab83d9fe06 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < c1954c66662de477a8f4309335b775f7b07bd28b (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < ba8c4cbb31c6f81fa5b12d6e28f1f706040aff48 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 62775525a27c3b0d56382e08ba81ee2d322058b6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.103 through 6.12.* (unaffected · semver)6.18.42 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4Provider assertions
2Linux · cna
drm/xe: Hold a dma-buf reference for imported BOs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3202902672895fba964bbfb4f9a69121e8f1711a47bab5339036a29ca8680227
- Ingested
- 19 Oct 2026, 21:04:33 UTC
- Source record
- Official CVE record