CVE-2026-99982 (GCVE-0-2026-99982)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:18 – Updated: 2026-12-01 05:44
VLAI
Title
drm/amdkfd: wait for a GPU reset before freeing a BO
Summary
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)
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 7961 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 , < f917af6f91c12f5e3943e110cb9a2b5ca42909d1 (git)
Affected: 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 , < 2cbdce3fdf929ec5c13007611a37672720bcfb8e (git)
Affected: 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 , < 96da420b053ba050e4e43c3e54d469043c35f73d (git)
Affected: 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 , < 47d799a718439764432d8ef3a0952af45f025f76 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.11
Unaffected: 0 , < 6.11 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (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_chardev.c",
            "drivers/gpu/drm/amd/amdkfd/kfd_priv.h",
            "drivers/gpu/drm/amd/amdkfd/kfd_process.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f917af6f91c12f5e3943e110cb9a2b5ca42909d1",
              "status": "affected",
              "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
              "versionType": "git"
            },
            {
              "lessThan": "2cbdce3fdf929ec5c13007611a37672720bcfb8e",
              "status": "affected",
              "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
              "versionType": "git"
            },
            {
              "lessThan": "96da420b053ba050e4e43c3e54d469043c35f73d",
              "status": "affected",
              "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
              "versionType": "git"
            },
            {
              "lessThan": "47d799a718439764432d8ef3a0952af45f025f76",
              "status": "affected",
              "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
            "drivers/gpu/drm/amd/amdkfd/kfd_priv.h",
            "drivers/gpu/drm/amd/amdkfd/kfd_process.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.11"
            },
            {
              "lessThan": "6.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "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"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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)"
        }
      ],
      "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 patched function kfd_ioctl_free_memory_of_gpu() is reached only through AMDKFD_IOC_FREE_MEMORY_OF_GPU on /dev/kfd, after AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU, both issued by a local process. No remote peer supplies the BO handle or any data involved.\nAC:L - The attacker forces the reset with its own non-preemptible queue: unmap_queues_cpsch() times out, then kfd_hws_hang() calls amdgpu_amdkfd_gpu_reset(). kgd2kfd_pre_reset()-\u003ekfd_signal_reset_event() sets the process\u0027s HW_EXCEPTION event before the ASIC reset, so a thread waiting in AMDKFD_IOC_WAIT_EVENTS issues unmap+free inside the window. Getting the freed page reused is heap grooming.\nPR:L - kfd_open() and kfd_ioctl() perform no capability check. CREATE_QUEUE, ALLOC/MAP/UNMAP/FREE_MEMORY_OF_GPU, CREATE_EVENT and WAIT_EVENTS all have ioctl flags 0; only the CRIU ioctl is capability-gated. Any local user with access to the /dev/kfd and render nodes (render group or mode 0666) can perform every step.\nUI:N - The attacker\u0027s own process creates the queues, hangs them to force the reset, waits on its own reset event, and frees its own BO. No other user has to do anything.\nS:U - The GPU accesses the freed page through the driver\u0027s own stale GPUVM translation after the reset path skipped the TLB flush. The DMA unmap still runs, so no IOMMU or hypervisor boundary is bypassed; the corruption stays within the host kernel\u0027s authority.\nC:H - After the kernel reallocates the freed system-memory page, the attacker\u0027s still-running SDMA or compute queue keeps reading through the stale TLB entry. It can copy whatever kernel data now sits on that page into a BO the attacker still has mapped.\nI:H - Queues the reset could not unmap keep writing to the freed physical page. In the MI300X trace a destroyed SDMA queue\u0027s read-pointer writeback overwrote a page reused as an mmu_gather batch, corrupting a page pointer the kernel then freed. Attacker-authored SDMA or shader stores widen this into writes to reallocated kernel memory.\nA:H - The commit documents a kernel oops in free_swap_cache() during munmap() after the batch page was corrupted. Triggering the bug also takes down the whole GPU, affecting every user of the device."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:44:30.328Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f917af6f91c12f5e3943e110cb9a2b5ca42909d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/2cbdce3fdf929ec5c13007611a37672720bcfb8e"
        },
        {
          "url": "https://git.kernel.org/stable/c/96da420b053ba050e4e43c3e54d469043c35f73d"
        },
        {
          "url": "https://git.kernel.org/stable/c/47d799a718439764432d8ef3a0952af45f025f76"
        }
      ],
      "title": "drm/amdkfd: wait for a GPU reset before freeing a BO",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99982",
    "datePublished": "2026-11-30T13:18:51.796Z",
    "dateReserved": "2026-09-25T10:25:14.450Z",
    "dateUpdated": "2026-12-01T05:44:30.328Z",
    "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_chardev.c",
                  "drivers/gpu/drm/amd/amdkfd/kfd_priv.h",
                  "drivers/gpu/drm/amd/amdkfd/kfd_process.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "f917af6f91c12f5e3943e110cb9a2b5ca42909d1",
                    "status": "affected",
                    "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2cbdce3fdf929ec5c13007611a37672720bcfb8e",
                    "status": "affected",
                    "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "96da420b053ba050e4e43c3e54d469043c35f73d",
                    "status": "affected",
                    "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "47d799a718439764432d8ef3a0952af45f025f76",
                    "status": "affected",
                    "version": "9c33e5fd4fb63b793d9a92bf35d190630d9bada4",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
                  "drivers/gpu/drm/amd/amdkfd/kfd_priv.h",
                  "drivers/gpu/drm/amd/amdkfd/kfd_process.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.11"
                  },
                  {
                    "lessThan": "6.11",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "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: 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": "CVE-2026-99982",
        "lastModified": "2026-12-01T06:17:59.163",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:20:41.243",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2cbdce3fdf929ec5c13007611a37672720bcfb8e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/47d799a718439764432d8ef3a0952af45f025f76"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/96da420b053ba050e4e43c3e54d469043c35f73d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f917af6f91c12f5e3943e110cb9a2b5ca42909d1"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T07:06:31+00:00",
      "cve": "CVE-2026-99982",
      "id": "CVE-2026-99982",
      "initial_release_date": "2026-11-30T13:18:51.796000+00:00",
      "product_status:known_affected": "187",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: drm/amdkfd: Denial of Service via race condition during GPU reset",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99982.json",
      "version": "3"
    }
  }
}



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.