CVE-2024-49865
published high CVSS 3.1 · 7.8drm/xe/vm: move xa_alloc to prevent UAF
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdd08ebf6c3525a7ea2186e636df064ea47281987 to < 09cf8901fc0225898311b375cfcc67bae37ed5da · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 74231870cf4976f69e83aa24f48edb16619f652f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (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-1027.29~22.04.1 | USN-7451-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-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-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-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-nvidia-64k | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| 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-1026-gcp | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-gcp-64k | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-56-lowlatency-64k | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-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-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-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-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1026 | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1026 | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-nvidia-64k | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| 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-1026-gcp | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-gcp-64k | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-headers-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-56-lowlatency-64k | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-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-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-nvidia-64k | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| 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-1026-gcp | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-gcp-64k | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-56-lowlatency-64k | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-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-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-56 | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-56 | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-56 | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-nvidia-64k | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| 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-1026-gcp | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-gcp-64k | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-modules-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-6.8.0-56-lowlatency-64k | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-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-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-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/vm: move xa_alloc to prevent UAF Evil user can guess the next id of the vm before the ioctl completes and then call vm destroy ioctl to trigger UAF since create ioctl is still referencing the same vm. Move the xa_alloc all the way to the end to prevent this. v2: - Rebase (cherry picked from commit dcfd3971327f3ee92765154baebbaece833d3ca9)
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 vulnerability is reached through the DRM_IOCTL_XE_VM_CREATE / DRM_IOCTL_XE_VM_DESTROY ioctls on the xe render node (/dev/dri/renderD*), which requires local access to the system. There is no network or remote path to this code. AC:L - The attacker controls both sides of the race — one thread issues VM_CREATE while another spams VM_DESTROY on the next id, which is deterministic because xef->vm.xa is XA_FLAGS_ALLOC1 (ids 1,2,3...). The window spans a down_write and a GFP_KERNEL allocation, and failed attempts can be retried indefinitely at no cost. PR:L - Both ioctls are marked DRM_RENDER_ALLOW with no capability check, so any unprivileged local user holding an fd on the render node (normal desktop/Wayland sessions, Android apps, containers with the GPU device exposed) can trigger it. No root or CAP_SYS_ADMIN is needed. UI:N - The attacker drives both racing threads entirely from its own process; no victim action, no privileged user's involvement and no special system state is required. S:U - The use-after-free corrupts kernel heap memory and is exploited within the kernel's own security authority — there is no VM, IOMMU, or sandbox boundary crossed. C:H - The freed struct xe_vm is read after free (vm->pt_root[id]->bo, vm->xef->client) and a dangling pointer to it persists in the global xe->usm.asid_to_vm xarray, which the GT page-fault handler later dereferences; after slab reclaim this yields attacker-influenced pointer dereferences usable to disclose arbitrary kernel memory. I:H - The create path writes into the freed object (vm->usm.asid = asid, vm->xef = xe_file_get(xef)) and installs a stale pointer that is later used with xe_vm_get() and function-pointer-bearing fields (vm->pt_ops, gpuvm ops), giving heap-spray-assisted write and control-flow hijack primitives. A:H - Use-after-free of a large, pointer-dense structure reliably causes kernel oops/panic and GPU state corruption, and the permanently dangling asid_to_vm entry can crash the machine later from the page-fault handler.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dd08ebf6c3525a7ea2186e636df064ea47281987 to < 09cf8901fc0225898311b375cfcc67bae37ed5da (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 74231870cf4976f69e83aa24f48edb16619f652f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (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
2Provider assertions
2Linux · cna
drm/xe/vm: move xa_alloc to prevent UAF
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- da32dab9178acbe4b9768c806c3585e51566acdecfe72885cbc3d57982935793
- Ingested
- 23 Sep 2026, 08:29:06 UTC
- Source record
- Official CVE record