GHSA-RW6X-G8VP-W3W6

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-12-01 06:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: wait for a GPU reset before freeing a BO

When a GPU reset takes the reset domain, KFD eviction cannot unmap user queues: execute_queues_cpsch() fails its trylock with -EIO, so the queues keep running until the ASIC is reset. The TLB flush is also skipped while the reset is in progress. If the process unmaps and frees a BO in that window, its pages are released while a queue can still access them through stale translations.

On MI300X, munmap() then crashes in free_swap_cache() on a small bogus page pointer in its mmu_gather batch page:

BUG: unable to handle page fault for address: 0000000000002900 RIP: 0010:free_swap_cache+0x5/0xb0 Call Trace: free_pages_and_swap_cache+0x3a/0x60 tlb_batch_pages_flush+0x43/0x80 tlb_flush_mmu+0x3d/0x110 zap_pte_range+0x80d/0xcd0 ... do_vmi_align_munmap+0x3e8/0x5b0 do_vmi_munmap+0xdf/0x190 __vm_munmap+0xad/0x180 __x64_sys_munmap+0x1b/0x30

In a traced crash the bogus pointer was the read pointer value of an SDMA queue the process had just destroyed, at the read pointer's page offset: the queue's writeback landed in its freed rptr page after the page was reused as the batch page.

commit f0b4440cdc18 ("drm/amdkfd: Fix mode1 reset crash issue") fixed this race on process exit by waiting for the reset to complete before freeing the process's BOs. Free through the ioctl has the same race. Wait for the reset there too, using the same helper.

(cherry picked from commit 06ff8ce77726b15a98fcc285dd6005cb3f48558b)

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99982"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:20:41Z",
    "severity": "HIGH"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: wait for a GPU reset before freeing a BO\n\nWhen a GPU reset takes the reset domain, KFD eviction cannot unmap\nuser queues: execute_queues_cpsch() fails its trylock with -EIO, so\nthe queues keep running until the ASIC is reset. The TLB flush is also\nskipped while the reset is in progress. If the process unmaps and frees\na BO in that window, its pages are released while a queue can still\naccess them through stale translations.\n\nOn MI300X, munmap() then crashes in free_swap_cache() on a small bogus\npage pointer in its mmu_gather batch page:\n\n  BUG: unable to handle page fault for address: 0000000000002900\n  RIP: 0010:free_swap_cache+0x5/0xb0\n  Call Trace:\n   free_pages_and_swap_cache+0x3a/0x60\n   tlb_batch_pages_flush+0x43/0x80\n   tlb_flush_mmu+0x3d/0x110\n   zap_pte_range+0x80d/0xcd0\n   ...\n   do_vmi_align_munmap+0x3e8/0x5b0\n   do_vmi_munmap+0xdf/0x190\n   __vm_munmap+0xad/0x180\n   __x64_sys_munmap+0x1b/0x30\n\nIn a traced crash the bogus pointer was the read pointer value of an SDMA\nqueue the process had just destroyed, at the read pointer\u0027s page offset:\nthe queue\u0027s writeback landed in its freed rptr page after the page was\nreused as the batch page.\n\ncommit f0b4440cdc18 (\"drm/amdkfd: Fix mode1 reset crash issue\") fixed\nthis race on process exit by waiting for the reset to complete before\nfreeing the process\u0027s BOs. Free through the ioctl has the same race.\nWait for the reset there too, using the same helper.\n\n(cherry picked from commit 06ff8ce77726b15a98fcc285dd6005cb3f48558b)",
  "id": "GHSA-rw6x-g8vp-w3w6",
  "modified": "2026-12-01T06:31:33Z",
  "published": "2026-11-30T15:32:51Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99982"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2cbdce3fdf929ec5c13007611a37672720bcfb8e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/47d799a718439764432d8ef3a0952af45f025f76"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/96da420b053ba050e4e43c3e54d469043c35f73d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f917af6f91c12f5e3943e110cb9a2b5ca42909d1"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



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.