FKIE_CVE-2026-99873

Vulnerability from fkie_nvd - Published: 2026-11-30 14:20 - Updated: 2026-12-02 10:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: tear down KFD processes before early fini_sw on disconnect On surprise removal, amdgpu_device_fini_hw() calls amdgpu_amdkfd_device_fini_sw() when pci_dev_is_disconnected() is true. fini_sw frees kfd.dev, but KFD processes may still be alive and hold references to it: kfd_process_destroy() dereferences kfd.dev via kfd_processes_remove(), and svm_range_list_fini() / kfd_process_free_outstanding_kfd_bos() touch per-device SVM state. The kfd_processes_count wait only happens later in kgd2kfd_teardown_processes(), called from the top-half remove path well after fini_sw. In the observed failure the killed KFD process (SIGBUS on unplug) stuck in D state on its exit path, so kfd_processes_count never drained and the PCIe removal thread wedged permanently in cond_resched(), producing soft-lockup and hung-task splats. Tear KFD processes down before freeing kfd.dev on the disconnect path, and guard kgd2kfd_teardown_processes() against kfd.dev already being gone when it runs a second time. (cherry picked from commit 836f44ba87ed7b1d83e2b7bfc788f8c6437b03a7)
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_device.c",
            "drivers/gpu/drm/amd/amdkfd/kfd_device.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6a0eed6acab0b93df4055548aeae1355dcaf234b",
              "status": "affected",
              "version": "28695ca09d326461f8078332aa01db516983e8a2",
              "versionType": "git"
            },
            {
              "lessThan": "1233dd17f99c75787a31035656ecfeff80522421",
              "status": "affected",
              "version": "28695ca09d326461f8078332aa01db516983e8a2",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a4218ac0bb8e70f7c0896f9df464baf2d5171ee6",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "8140ac7c55e75093a01c6110a2c4025fe7177c57",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b705daaf5f8c4ebcd5f963a1c98b159b5a1b103f",
              "versionType": "git"
            },
            {
              "lessThan": "6.7",
              "status": "affected",
              "version": "6.6.122",
              "versionType": "semver"
            },
            {
              "lessThan": "6.13",
              "status": "affected",
              "version": "6.12.67",
              "versionType": "semver"
            },
            {
              "lessThan": "6.19",
              "status": "affected",
              "version": "6.18.7",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_device.c",
            "drivers/gpu/drm/amd/amdkfd/kfd_device.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.19"
            },
            {
              "lessThan": "6.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "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: tear down KFD processes before early fini_sw on disconnect\n\nOn surprise removal, amdgpu_device_fini_hw() calls\namdgpu_amdkfd_device_fini_sw() when pci_dev_is_disconnected() is true.\nfini_sw frees kfd.dev, but KFD processes may still be alive and hold\nreferences to it: kfd_process_destroy() dereferences kfd.dev via\nkfd_processes_remove(), and svm_range_list_fini() /\nkfd_process_free_outstanding_kfd_bos() touch per-device SVM state.\n\nThe kfd_processes_count wait only happens later in\nkgd2kfd_teardown_processes(), called from the top-half remove path\nwell after fini_sw. In the observed failure the killed KFD process\n(SIGBUS on unplug) stuck in D state on its exit path, so\nkfd_processes_count never drained and the PCIe removal thread wedged\npermanently in cond_resched(), producing soft-lockup and hung-task\nsplats.\n\nTear KFD processes down before freeing kfd.dev on the disconnect\npath, and guard kgd2kfd_teardown_processes() against kfd.dev already\nbeing gone when it runs a second time.\n\n(cherry picked from commit 836f44ba87ed7b1d83e2b7bfc788f8c6437b03a7)"
    }
  ],
  "id": "CVE-2026-99873",
  "lastModified": "2026-12-02T10:17:23.597",
  "metrics": {},
  "published": "2026-11-30T14:20:21.600",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1233dd17f99c75787a31035656ecfeff80522421"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6a0eed6acab0b93df4055548aeae1355dcaf234b"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.