{"api_version":"1","generated_at":"2026-10-26T06:59:01+00:00","cve":"CVE-2026-97429","urls":{"html":"https://cve.report/CVE-2026-97429","api":"https://cve.report/api/cve/CVE-2026-97429.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-97429","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-97429"},"summary":{"title":"drm/amdkfd: fix UAF race in destroy_queue_cpsch","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix UAF race in destroy_queue_cpsch\n\nwait_on_destroy_queue() drops locks to wait for queue resume, allowing\na concurrent destroy to free the queue. Use is_being_destroyed flag to\nserialize destruction.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-24 17:17:20","updated_at":"2026-10-03 11:17:54"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/d98c8032c29944e1e572e1f49a0613d364fece0f","name":"https://git.kernel.org/stable/c/d98c8032c29944e1e572e1f49a0613d364fece0f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ac081deaf16a639ea7dff2f285fe421a33c1ade0","name":"https://git.kernel.org/stable/c/ac081deaf16a639ea7dff2f285fe421a33c1ade0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/090b51e2dabf88c02c0b6b25ea672a8bddfba7d5","name":"https://git.kernel.org/stable/c/090b51e2dabf88c02c0b6b25ea672a8bddfba7d5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/41144829f4645c2bd4cb501d34d253858f750c0a","name":"https://git.kernel.org/stable/c/41144829f4645c2bd4cb501d34d253858f750c0a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-97429","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97429","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a70a93fa568b4f05aba548dadb673703eccf5480 090b51e2dabf88c02c0b6b25ea672a8bddfba7d5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a70a93fa568b4f05aba548dadb673703eccf5480 41144829f4645c2bd4cb501d34d253858f750c0a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a70a93fa568b4f05aba548dadb673703eccf5480 d98c8032c29944e1e572e1f49a0613d364fece0f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a70a93fa568b4f05aba548dadb673703eccf5480 ac081deaf16a639ea7dff2f285fe421a33c1ade0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.158 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.111 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.53 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"97429","cve":"CVE-2026-97429","epss":"0.001290000","percentile":"0.021380000","score_date":"2026-10-05","updated_at":"2026-10-06 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"090b51e2dabf88c02c0b6b25ea672a8bddfba7d5","status":"affected","version":"a70a93fa568b4f05aba548dadb673703eccf5480","versionType":"git"},{"lessThan":"41144829f4645c2bd4cb501d34d253858f750c0a","status":"affected","version":"a70a93fa568b4f05aba548dadb673703eccf5480","versionType":"git"},{"lessThan":"d98c8032c29944e1e572e1f49a0613d364fece0f","status":"affected","version":"a70a93fa568b4f05aba548dadb673703eccf5480","versionType":"git"},{"lessThan":"ac081deaf16a639ea7dff2f285fe421a33c1ade0","status":"affected","version":"a70a93fa568b4f05aba548dadb673703eccf5480","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.5"},{"lessThan":"6.5","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.158","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.111","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.53","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.158","versionStartIncluding":"6.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.111","versionStartIncluding":"6.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.53","versionStartIncluding":"6.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"6.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix UAF race in destroy_queue_cpsch\n\nwait_on_destroy_queue() drops locks to wait for queue resume, allowing\na concurrent destroy to free the queue. Use is_being_destroyed flag to\nserialize destruction."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The UAF is reached from kfd_ioctl_destroy_queue() via AMDKFD_IOC_DESTROY_QUEUE on /dev/kfd, which calls pqm_destroy_queue() then destroy_queue_cpsch() and wait_on_destroy_queue(); the trigger is that local ioctl, not a remote protocol message.\nAC:L - After kfd_ioctl_runtime_enable() and kfd_ioctl_set_debug_trap() (KFD_IOC_DBG_TRAP_ENABLE then KFD_IOC_DBG_TRAP_SUSPEND_QUEUES) set debug_trap_enabled and is_suspended, wait_on_destroy_queue() drops p->mutex; a sibling thread then issues a second AMDKFD_IOC_DESTROY_QUEUE (or KFD_IOC_DBG_TRAP_DISABLE then destroy) and frees the same struct queue while the first sleeps.\nPR:L - kfd_open() has no capable() check, and AMDKFD_IOC_CREATE_QUEUE, AMDKFD_IOC_DESTROY_QUEUE, AMDKFD_IOC_RUNTIME_ENABLE and AMDKFD_IOC_DBG_TRAP are registered with flags 0; kfd_ioctl_set_debug_trap() skips the ptrace check when target==p, so an unprivileged /dev/kfd (render-group) user can trap, suspend and destroy their own queues.\nUI:N - The attacker opens their own /dev/kfd fd, enables debug trap on their own pid via kfd_ioctl_set_debug_trap(), suspends the queue with KFD_IOC_DBG_TRAP_SUSPEND_QUEUES, and issues the concurrent AMDKFD_IOC_DESTROY_QUEUE ioctls; no other user must mount, open, or interact.\nS:U - The use-after-free of struct queue in wait_on_destroy_queue()/destroy_queue_cpsch() and the later uninit_queue() in pqm_destroy_queue() stays in the host kernel that runs amdkfd; it is not a KVM/Xen guest-to-host escape or an IOMMU/DMA isolation bypass.\nC:H - While wait_on_destroy_queue() still evaluates q->properties.is_suspended, the racing pqm_destroy_queue() path kfree()s the same struct queue via uninit_queue() and its MQD via mqd_mgr->free_mqd(); that slab UAF of kernel queue/MQD objects is an arbitrary-read primitive.\nI:H - The overlapping destroy_queue_cpsch() then pqm_destroy_queue() path list_del()s q->list and kfree()s both the queue and process_queue_node while the waiter still holds those pointers, so the slab can be sprayed into an arbitrary kernel write or control-flow hijack.\nA:H - Using the freed struct queue in wait_on_destroy_queue() or the rest of destroy_queue_cpsch() (list_del(&q->list), free_mqd, uninit_queue) oopses the kernel; a use-after-free is scored High for availability even when not fully exploited."}]}],"providerMetadata":{"dateUpdated":"2026-10-03T10:58:16.575Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/090b51e2dabf88c02c0b6b25ea672a8bddfba7d5"},{"url":"https://git.kernel.org/stable/c/41144829f4645c2bd4cb501d34d253858f750c0a"},{"url":"https://git.kernel.org/stable/c/d98c8032c29944e1e572e1f49a0613d364fece0f"},{"url":"https://git.kernel.org/stable/c/ac081deaf16a639ea7dff2f285fe421a33c1ade0"}],"title":"drm/amdkfd: fix UAF race in destroy_queue_cpsch","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-97429","datePublished":"2026-09-24T16:03:42.269Z","dateReserved":"2026-09-24T14:53:16.868Z","dateUpdated":"2026-10-03T10:58:16.575Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-24 17:17:20","lastModifiedDate":"2026-10-03 11:17:54","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"97429","Ordinal":"1","Title":"drm/amdkfd: fix UAF race in destroy_queue_cpsch","CVE":"CVE-2026-97429","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"97429","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix UAF race in destroy_queue_cpsch\n\nwait_on_destroy_queue() drops locks to wait for queue resume, allowing\na concurrent destroy to free the queue. Use is_being_destroyed flag to\nserialize destruction.","Type":"Description","Title":"drm/amdkfd: fix UAF race in destroy_queue_cpsch"}]}}}