CVE-2024-50030
published high CVSS 3.1 · 7.8drm/xe/ct: prevent UAF in send_recv()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdd08ebf6c3525a7ea2186e636df064ea47281987 to < 8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < db7f92af626178ba59dbbcdd5dee9ec24a987a88 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.11.4 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/ct: prevent UAF in send_recv() Ensure we serialize with completion side to prevent UAF with fence going out of scope on the stack, since we have no clue if it will fire after the timeout before we can erase from the xa. Also we have some dependent loads and stores for which we need the correct ordering, and we lack the needed barriers. Fix this by grabbing the ct->lock after the wait, which is also held by the completion side. v2 (Badal): - Also print done after acquiring the lock and seeing timeout. (cherry picked from commit 52789ce35c55ccd30c4b67b9cc5b2af55e0122ea)
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 blocking CT round-trip is reached from the world-readable sysfs attributes under /sys/class/drm/cardN/device/tile0/gt0/freq0/ and from DRM render-node ioctls on /dev/dri/renderD128, both of which require local system access. There is no network-facing consumer of xe_guc_ct_send_recv(). AC:L - The attacker controls both sides of the race: it starts the 1-second deadline by reading cur_freq, and it controls G2H/H2G response latency by flooding the CT queue (the driver itself notes a full 4KiB H2G buffer "takes a little over a second to process") or by hanging the GPU to force a reset, then retries indefinitely until the completion lands in the window. PR:L - The freq0/*_freq attributes are DEVICE_ATTR_RO (0444), readable by any unprivileged local user with no capabilities, and the xe render node (DRIVER_RENDER) is accessible to ordinary users for generating the CT load. No CAP_SYS_ADMIN or root is required anywhere on the path. UI:N - The attacker performs every step itself — reading the sysfs file and submitting GPU work to stall the CT queue. No victim action or cooperation is needed. S:U - The corruption is of kernel stack memory belonging to the same kernel security authority; there is no VM, IOMMU, or sandbox boundary crossed in the primary local attack path. C:H - The completion side reads response_buffer from the already-popped stack frame and memcpy()s the G2H payload through it, giving an attacker-influenced pointer write that can be steered to place kernel data where the attacker can read it back; the corrupted stack also exposes saved kernel state. I:H - This is a use-after-free write into a live kernel stack — the worker writes fail/error/hint/response_len/response_data/done into a reused frame and can memcpy up to GUC_CTB_HXG_MSG_MAX_LEN dwords through a stale, groomable pointer, yielding return-address overwrite and control-flow hijack leading to privilege escalation. A:H - Writing into a popped stack frame and dereferencing a stale response_buffer pointer reliably produces kernel stack corruption, oops or panic, and the trigger can be repeated at will by an unprivileged user.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dd08ebf6c3525a7ea2186e636df064ea47281987 to < 8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < db7f92af626178ba59dbbcdd5dee9ec24a987a88 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.11.4 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/ct: prevent UAF in send_recv()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0e3521cf1cf3d93927ee4f4691befe741b8ed53385a118867d815389294c5ef4
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record