Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-46683

published high CVSS 3.1 · 7.8

drm/xe: prevent UAF around preempt fence

Published
13 Sep 2024, 05:29:15 UTC
Updated
05 Aug 2026, 11:37:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxdd08ebf6c3525a7ea2186e636df064ea47281987 to < 10081b0b0ed201f53e24bd92deb2e0f3c3e713d4 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 730b72480e29f63fd644f5fa57c9d46109428953 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.10.8 through 6.10.* (unaffected · semver) · 6.11 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
Ubuntu jammy linux-aws-6.8 Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1020 Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1020 Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1020 Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1020 Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1020 Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1020 Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-buildinfo-6.8.0-1017-oracle Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-buildinfo-6.8.0-1017-oracle-64k Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-buildinfo-6.8.0-1019-gcp Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-buildinfo-6.8.0-1019-nvidia Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-buildinfo-6.8.0-1019-nvidia-64k Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-buildinfo-6.8.0-1020-aws Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-buildinfo-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-buildinfo-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-buildinfo-6.8.0-50-generic-64k Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-buildinfo-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-buildinfo-6.8.0-50-lowlatency-64k Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-cloud-tools-6.8.0-1020-aws Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-cloud-tools-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-cloud-tools-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-cloud-tools-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1019 Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1019 Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-headers-6.8.0-1017-oracle Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-headers-6.8.0-1017-oracle-64k Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-headers-6.8.0-1019-gcp Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-headers-6.8.0-1019-nvidia Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-headers-6.8.0-1019-nvidia-64k Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-headers-6.8.0-1020-aws Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-headers-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-headers-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-headers-6.8.0-50-generic-64k Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-headers-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-headers-6.8.0-50-lowlatency-64k Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-50 Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-50 Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-50 Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-image-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-image-unsigned-6.8.0-1017-oracle Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-image-unsigned-6.8.0-1017-oracle-64k Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-image-unsigned-6.8.0-1019-gcp Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-image-unsigned-6.8.0-1019-nvidia Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-image-unsigned-6.8.0-1019-nvidia-64k Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-image-unsigned-6.8.0-1020-aws Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-image-unsigned-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-image-unsigned-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-image-unsigned-6.8.0-50-generic-64k Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-image-unsigned-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-image-unsigned-6.8.0-50-lowlatency-64k Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-50 Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-50 Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-lowlatency-hwe-6.8-lib-rust-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-lowlatency-hwe-6.8-tools-6.8.0-50 Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-6.8.0-1017-oracle Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-6.8.0-1017-oracle-64k Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-6.8.0-1019-gcp Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-6.8.0-1019-nvidia Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-modules-6.8.0-1019-nvidia-64k Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-modules-6.8.0-1020-aws Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-modules-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-modules-6.8.0-50-generic-64k Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-modules-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-6.8.0-50-lowlatency-64k Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-extra-6.8.0-1017-oracle Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-extra-6.8.0-1017-oracle-64k Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-extra-6.8.0-1019-gcp Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-extra-6.8.0-1019-nvidia Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-modules-extra-6.8.0-1020-aws Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-extra-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-modules-extra-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-modules-involflt-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-modules-ipu6-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-modules-iwlwifi-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-modules-iwlwifi-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-modules-iwlwifi-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1019-nvidia Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1019-nvidia-64k Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-modules-usbio-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-nvidia-6.8 Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-nvidia-6.8-headers-6.8.0-1019 Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-nvidia-6.8-tools-6.8.0-1019 Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-oracle-6.8 Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-oracle-6.8-headers-6.8.0-1017 Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-oracle-6.8-tools-6.8.0-1017 Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-tools-6.8.0-1017-oracle Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-tools-6.8.0-1017-oracle-64k Advisory build 6.8.0-1017.18~22.04.1 USN-7154-1
Ubuntu jammy linux-tools-6.8.0-1019-gcp Advisory build 6.8.0-1019.21~22.04.1 USN-7154-1
Ubuntu jammy linux-tools-6.8.0-1019-nvidia Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-tools-6.8.0-1019-nvidia-64k Advisory build 6.8.0-1019.21~22.04.1 USN-7155-1
Ubuntu jammy linux-tools-6.8.0-1020-aws Advisory build 6.8.0-1020.22~22.04.1 USN-7154-1
Ubuntu jammy linux-tools-6.8.0-1020-azure Advisory build 6.8.0-1020.23~22.04.1 USN-7196-1
Ubuntu jammy linux-tools-6.8.0-50-generic Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-tools-6.8.0-50-generic-64k Advisory build 6.8.0-50.51~22.04.1 USN-7154-2
Ubuntu jammy linux-tools-6.8.0-50-lowlatency Advisory build 6.8.0-50.51.1~22.04.1 USN-7154-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: prevent UAF around preempt fence The fence lock is part of the queue, therefore in the current design anything locking the fence should then also hold a ref to the queue to prevent the queue from being freed. However, currently it looks like we signal the fence and then drop the queue ref, but if something is waiting on the fence, the waiter is kicked to wake up at some later point, where upon waking up it first grabs the lock before checking the fence state. But if we have already dropped the queue ref, then the lock might already be freed as part of the queue, leading to uaf. To prevent this, move the fence lock into the fence itself so we don't run into lifetime issues. Alternative might be to have device level lock, or only release the queue in the fence release callback, however that might require pushing to another worker to avoid locking issues. References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2454 References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2342 References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2020 (cherry picked from commit 7116c35aacedc38be6d15bd21b2fc936eed0008b)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

8

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 exclusively through xe DRM ioctls (`XE_VM_CREATE`, `XE_EXEC_QUEUE_CREATE`/`_DESTROY`, `XE_VM_BIND`) on a local device node such as /dev/dri/renderD128. No network, adjacent-network, or physical access is involved. AC:L - The attacker drives both sides — triggering preemption/fence signalling and dropping the queue's last reference via the destroy ioctl — and can repeat the loop indefinitely. Moreover the stale `fence->lock` pointer persists for as long as the attacker keeps BOs holding BOOKKEEP references to the fence, and `dma_fence_enable_sw_signaling()`/`dma_fence_add_callback()` take that lock unconditionally, so this is a lifetime bug rather than a tight instruction-window race; it was hit three separate times in ordinary CI runs. PR:L - Every ioctl on the path is marked `DRM_RENDER_ALLOW`, requiring only an open file descriptor on the render node — no DRM master, no capability, no root — which is granted to logged-in desktop users, `render`/`video` group members, GPU-enabled containers, and Android apps. LR-mode VM creation has no additional privilege gate. UI:N - A single unprivileged process creates the VM, the exec queue, triggers the rebind/preemption, and destroys the queue entirely on its own. No victim action of any kind is required. S:U - The freed object and the corrupted memory both live in the kernel's own slab allocator, so the impact stays within the kernel security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - This is a use-after-free that reads the lock word out of a freed `xe_exec_queue` in a generic kmalloc cache the attacker selects via the user-controlled `width` field, allowing the freed slot to be groomed with attacker-chosen or sensitive objects. Per kernel UAF guidance this yields a high-confidence path to kernel memory disclosure. I:H - The woken waiter executes `spin_lock_irqsave()` and `spin_unlock_irqrestore()` — real writes at a fixed offset — into the freed and potentially reallocated `xe_exec_queue` allocation, corrupting whichever object now occupies that slot. A UAF write into a groomable general-purpose slab cache is the classic starting point for control-flow hijack and privilege escalation. A:H - The UAF produces KASAN splats and crashes in practice (three separate freedesktop bug reports), and a stale nonzero value at the lock offset makes the waiter spin forever inside `spin_lock_irqsave()` with interrupts disabled, causing a hard lockup or panic. Any unprivileged user with render-node access can trigger this repeatedly.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux dd08ebf6c3525a7ea2186e636df064ea47281987 to < 10081b0b0ed201f53e24bd92deb2e0f3c3e713d4 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 730b72480e29f63fd644f5fa57c9d46109428953 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.10.8 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

2

Linux · cna

drm/xe: prevent UAF around preempt fence

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
df3011c7a5d0c698137d7beba248974dd943956142a45929c7c057ae908d0b25
Ingested
23 Sep 2026, 08:28:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected