CVE-2024-49876
published high CVSS 3.1 · 7.8drm/xe: fix UAF around queue destruction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdd08ebf6c3525a7ea2186e636df064ea47281987 to < 272b0e78874586d6ccae04079d75b27b47705544 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 421c74670b0f9d5c007f1276d3647aa58f407fde · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 2d2be279f1ca9e7288282d4214f16eea8a727cdb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.10.14 through 6.10.* (unaffected · semver) · 6.11.3 through 6.11.* (unaffected · semver) · 6.12 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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1023 | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1023 | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1023 | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1025 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1025 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1025 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1020-oracle | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1020-oracle-64k | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1022-nvidia | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1022-nvidia-64k | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1023-aws | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-gcp | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-gcp-64k | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-54-lowlatency | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-54-lowlatency-64k | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-57-generic-64k | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1023-aws | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-54-lowlatency | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1024 | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1024 | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-headers-6.8.0-1020-oracle | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1020-oracle-64k | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1022-nvidia | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1022-nvidia-64k | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1023-aws | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-gcp | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-gcp-64k | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-headers-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-headers-6.8.0-54-lowlatency | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-headers-6.8.0-54-lowlatency-64k | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-headers-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-headers-6.8.0-57-generic-64k | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-57 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-57 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-57 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-image-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1020-oracle | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1020-oracle-64k | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1022-nvidia | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1022-nvidia-64k | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1023-aws | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-gcp | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-gcp-64k | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-54-lowlatency | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-54-lowlatency-64k | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-57-generic-64k | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-54 | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-54 | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-54-lowlatency | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-54 | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1020-oracle | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1020-oracle-64k | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1022-nvidia | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1022-nvidia-64k | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1023-aws | Advisory build | 6.8.0-1023.25~22.04.1 | USN-7311-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-gcp | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-gcp-64k | Advisory build | 6.8.0-1024.26~22.04.1 | USN-7303-3 |
| Ubuntu | jammy | linux-modules-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-modules-6.8.0-54-lowlatency | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-modules-6.8.0-54-lowlatency-64k | Advisory build | 6.8.0-54.56.1~22.04.1 | USN-7301-1 |
| Ubuntu | jammy | linux-modules-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-modules-6.8.0-57-generic-64k | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1020-oracle | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1020-oracle-64k | Advisory build | 6.8.0-1020.21~22.04.1 | USN-7303-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1022-nvidia | Advisory build | 6.8.0-1022.25~22.04.2 | USN-7303-1 |
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: fix UAF around queue destruction We currently do stuff like queuing the final destruction step on a random system wq, which will outlive the driver instance. With bad timing we can teardown the driver with one or more work workqueue still being alive leading to various UAF splats. Add a fini step to ensure user queues are properly torn down. At this point GuC should already be nuked so queue itself should no longer be referenced from hw pov. v2 (Matt B) - Looks much safer to use a waitqueue and then just wait for the xa_array to become empty before triggering the drain. (cherry picked from commit 861108666cc0e999cffeab6aff17b662e68774e3)
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 vulnerable exec-queue create/destroy paths are reached only through DRM ioctls (`XE_EXEC_QUEUE_CREATE`/`XE_EXEC_QUEUE_DESTROY`) and fd close on the local device node `/dev/dri/renderD128`. No network or adjacent-network exposure exists. AC:L - The attacker fully controls the side of the race that creates the danger — a create/destroy loop keeps an unsynchronized `system_wq` fini work item outstanding essentially continuously, so no timing window must be won. Device unbind/remove (VF teardown on multi-tenant GPU hosts, eGPU hot-remove, driver reload) is a routine event after which the UAF is near-deterministic rather than a narrow race. PR:L - Both ioctls are marked `DRM_RENDER_ALLOW` with no capability check, so any local user with render-node access (default for desktop/logind sessions, and for any app on Android/embedded GPU stacks) can create and destroy exec queues. No root or CAP_SYS_ADMIN is needed. UI:N - The attacker's own process (queue destroy loop plus fd close) drives the vulnerable path, and the co-occurring device removal happens autonomously in realistic deployments — SR-IOV VF teardown by the hypervisor management stack, PCI hot-remove, or automated driver rebind — with no victim action required. S:U - The use-after-free corrupts kernel heap objects belonging to the same kernel security authority that the attacker is already interacting with. There is no VM, IOMMU, or sandbox boundary crossed. C:H - The stale worker reads a freed `xe_device`/`xe_guc` slab object that the attacker can reallocate and control, and follows pointers out of it (`guc_to_xe()`, `ge->q`, LRC/BO chains), enabling disclosure of arbitrary reallocated kernel memory. I:H - The worker performs numerous writes into the freed allocation — `mutex_lock()`, `xa_erase()`, GuC ID bitmap release, DRM scheduler entity/sched list teardown, `kfree()` of an attacker-influenced pointer — which is a classic heap-spray-to-arbitrary-write primitive; on module unload the work function pointer itself dangles into freed module text, allowing control-flow hijack. A:H - Even unweaponized, the bug produces the "various UAF splats" described by the author — KASAN reports, oopses, and panics from dereferencing the freed device, GuC, and scheduler state — resulting in a full kernel crash.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dd08ebf6c3525a7ea2186e636df064ea47281987 to < 272b0e78874586d6ccae04079d75b27b47705544 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 421c74670b0f9d5c007f1276d3647aa58f407fde (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 2d2be279f1ca9e7288282d4214f16eea8a727cdb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.10.14 through 6.10.* (unaffected · semver)6.11.3 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
2Linux · cna
drm/xe: fix UAF around queue destruction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b17185f09e709ea0eaef6bf9bf618d45aa277ac86b2f3c3b3e92c1f4767d63c8
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record