CVE-2025-68793
published high CVSS 3.1 · 7.8drm/amdgpu: fix a job->pasid access race in gpu recovery
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa72002cb181f350734108228b24c5d10d358f95a to < dac58c012c47cadf337a35eb05d44498c43e5cd0 · a72002cb181f350734108228b24c5d10d358f95a to < 77f73253015cbc7893fca1821ac3eae9eb4bc943 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 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 | noble | linux-aws-6.17 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-aws-6.17-cloud-tools-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-aws-6.17-headers-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-aws-6.17-tools-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1013 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1013 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1013 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-headers-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-headers-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-headers-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-headers-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-headers-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-headers-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17-cloud-tools-6.17.0-22 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17-headers-6.17.0-22 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17-tools-6.17.0-22 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-modules-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-modules-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1020 | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1020 | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-oracle-6.17 | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-oracle-6.17-headers-6.17.0-1011 | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-oracle-6.17-tools-6.17.0-1011 | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-realtime-6.17 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-realtime-6.17-cloud-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-realtime-6.17-headers-6.17.0-1010 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-realtime-6.17-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-tools-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-tools-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
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/amdgpu: fix a job->pasid access race in gpu recovery Avoid a possible UAF in GPU recovery due to a race between the sched timeout callback and the tdr work queue. The gpu recovery function calls drm_sched_stop() and later drm_sched_start(). drm_sched_start() restarts the tdr queue which will eventually free the job. If the tdr queue frees the job before time out callback completes, the job will be freed and we'll get a UAF when accessing the pasid. Cache it early to avoid the UAF. Example KASAN trace: [ 493.058141] BUG: KASAN: slab-use-after-free in amdgpu_device_gpu_recover+0x968/0x990 [amdgpu] [ 493.067530] Read of size 4 at addr ffff88b0ce3f794c by task kworker/u128:1/323 [ 493.074892] [ 493.076485] CPU: 9 UID: 0 PID: 323 Comm: kworker/u128:1 Tainted: G E 6.16.0-1289896.2.zuul.bf4f11df81c1410bbe901c4373305a31 #1 PREEMPT(voluntary) [ 493.076493] Tainted: [E]=UNSIGNED_MODULE [ 493.076495] Hardware name: TYAN B8021G88V2HR-2T/S8021GM2NR-2T, BIOS V1.03.B10 04/01/2019 [ 493.076500] Workqueue: amdgpu-reset-dev drm_sched_job_timedout [gpu_sched] [ 493.076512] Call Trace: [ 493.076515] <TASK> [ 493.076518] dump_stack_lvl+0x64/0x80 [ 493.076529] print_report+0xce/0x630 [ 493.076536] ? _raw_spin_lock_irqsave+0x86/0xd0 [ 493.076541] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 493.076545] ? amdgpu_device_gpu_recover+0x968/0x990 [amdgpu] [ 493.077253] kasan_report+0xb8/0xf0 [ 493.077258] ? amdgpu_device_gpu_recover+0x968/0x990 [amdgpu] [ 493.077965] amdgpu_device_gpu_recover+0x968/0x990 [amdgpu] [ 493.078672] ? __pfx_amdgpu_device_gpu_recover+0x10/0x10 [amdgpu] [ 493.079378] ? amdgpu_coredump+0x1fd/0x4c0 [amdgpu] [ 493.080111] amdgpu_job_timedout+0x642/0x1400 [amdgpu] [ 493.080903] ? pick_task_fair+0x24e/0x330 [ 493.080910] ? __pfx_amdgpu_job_timedout+0x10/0x10 [amdgpu] [ 493.081702] ? _raw_spin_lock+0x75/0xc0 [ 493.081708] ? __pfx__raw_spin_lock+0x10/0x10 [ 493.081712] drm_sched_job_timedout+0x1b0/0x4b0 [gpu_sched] [ 493.081721] ? __pfx__raw_spin_lock_irq+0x10/0x10 [ 493.081725] process_one_work+0x679/0xff0 [ 493.081732] worker_thread+0x6ce/0xfd0 [ 493.081736] ? __pfx_worker_thread+0x10/0x10 [ 493.081739] kthread+0x376/0x730 [ 493.081744] ? __pfx_kthread+0x10/0x10 [ 493.081748] ? __pfx__raw_spin_lock_irq+0x10/0x10 [ 493.081751] ? __pfx_kthread+0x10/0x10 [ 493.081755] ret_from_fork+0x247/0x330 [ 493.081761] ? __pfx_kthread+0x10/0x10 [ 493.081764] ret_from_fork_asm+0x1a/0x30 [ 493.081771] </TASK> (cherry picked from commit 20880a3fd5dd7bca1a079534cf6596bda92e107d)
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 local AMDGPU command submission via a DRM render or primary device node; no network or physical protocol reaches this path. AC:L - The attacker controls job submission and can deliberately hang the GPU while maintaining concurrent submissions or heap spraying; the race is repeatable and requires no victim-controlled condition. PR:L - DRM_IOCTL_AMDGPU_CS is marked DRM_RENDER_ALLOW, and normal contexts require no capability; only ordinary unprivileged access to the AMDGPU render node is needed. UI:N - After the attacker submits the hanging job, the scheduler timeout, recovery, object freeing, and stale access occur automatically without another user's participation. S:U - The vulnerable DRM client and the affected host kernel remain under the same security authority; this is standard local kernel compromise rather than a VM or IOMMU boundary escape. C:H - This is a kernel slab use-after-free involving an attacker-created, variable-sized amdgpu_job allocation that can be reclaimed through heap spraying, making high-impact kernel memory disclosure defensible. I:H - Reclaiming the freed job with attacker-influenced allocations can support UAF exploitation and potential kernel memory manipulation or control-flow hijacking, resulting in complete integrity loss. A:H - The UAF was observed by KASAN in GPU recovery and can cause an oops or panic; repeated malicious hangs and recovery failures can also deny the GPU to all system users.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a72002cb181f350734108228b24c5d10d358f95a to < dac58c012c47cadf337a35eb05d44498c43e5cd0 (affected · git)a72002cb181f350734108228b24c5d10d358f95a to < 77f73253015cbc7893fca1821ac3eae9eb4bc943 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
2Provider assertions
2Linux · cna
drm/amdgpu: fix a job->pasid access race in gpu recovery
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5e8bf04f771833be361d3d128a5dbfb1e5e17ac38198af8fdfb481dcd557f1d0
- Ingested
- 19 Oct 2026, 18:27:05 UTC
- Source record
- Official CVE record