CVE-2026-97429 (GCVE-0-2026-97429)

Vulnerability from cvelistv5 – Published: 2026-09-24 16:03 – Updated: 2026-09-25 05:10
VLAI
Title
drm/amdkfd: fix UAF race in destroy_queue_cpsch
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix UAF race in destroy_queue_cpsch wait_on_destroy_queue() drops locks to wait for queue resume, allowing a concurrent destroy to free the queue. Use is_being_destroyed flag to serialize destruction.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 41144829f4645c2bd4cb501d34d253858f750c0a (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < d98c8032c29944e1e572e1f49a0613d364fece0f (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < ac081deaf16a639ea7dff2f285fe421a33c1ade0 (git)
Affected: 0 , < 6.12.111 (semver)
Affected: 0 , < 6.18.53 (semver)
guessed Create a notification for this product.
Linux Linux Unaffected: 6.12.111 , ≤ 6.12.* (semver)
Unaffected: 6.18.53 , ≤ 6.18.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "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": "41144829f4645c2bd4cb501d34d253858f750c0a",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "d98c8032c29944e1e572e1f49a0613d364fece0f",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "ac081deaf16a639ea7dff2f285fe421a33c1ade0",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.111",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.53",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        },
        {
          "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": [
            {
              "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.12.111",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "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-\u003emutex; 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-\u003eproperties.is_suspended, the racing pqm_destroy_queue() path kfree()s the same struct queue via uninit_queue() and its MQD via mqd_mgr-\u003efree_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-\u003elist 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(\u0026q-\u003elist), free_mqd, uninit_queue) oopses the kernel; a use-after-free is scored High for availability even when not fully exploited."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-25T05:10:32.590Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "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-09-25T05:10:32.590Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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": "41144829f4645c2bd4cb501d34d253858f750c0a",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d98c8032c29944e1e572e1f49a0613d364fece0f",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ac081deaf16a639ea7dff2f285fe421a33c1ade0",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.12.111",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.18.53",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "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": [
                  {
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-97429",
        "lastModified": "2026-09-24T17:17:20.907",
        "metrics": {},
        "published": "2026-09-24T17:17:20.907",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/41144829f4645c2bd4cb501d34d253858f750c0a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ac081deaf16a639ea7dff2f285fe421a33c1ade0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d98c8032c29944e1e572e1f49a0613d364fece0f"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "suse_vex": {
      "aggregate_severity": "not set",
      "current_release_date": "2026-09-24T23:46:15Z",
      "cve": "CVE-2026-97429",
      "id": "CVE-2026-97429",
      "initial_release_date": "2026-09-24T23:46:15Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-97429",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-97429.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…