CVE-2026-99868 (GCVE-0-2026-99868)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:17 – Updated: 2026-12-01 05:43
VLAI
Title
drm/amdkfd: split vram_pages of SVM ranges prefetched without a GPU mapping
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: split vram_pages of SVM ranges prefetched without a GPU mapping When an SVM range is split, svm_range_split_pages() gives the new range the number of VRAM pages counted in its part of the dma_addr arrays and subtracts it from the old range. Pages migrated to VRAM by a prefetch have no dma_addr entries until the range is mapped on a GPU, e.g. with no ACCESS attribute, or with XNACK off before the delayed restore worker mapped it, so the new range gets 0 and the old one keeps the count for both. Migrating the parts back to system memory then gets the accounting wrong: the old part keeps a VRAM page count after all its pages are gone, so its svm_bo is never freed, and the new part underflows. On navi31, as an unprivileged process: prefetch 4 MiB to the GPU, prefetch the upper 2 MiB and then the lower 2 MiB back to system memory: Recorded vram pages(0x0) should not be less than migration pages(0x200). WARNING: ../amdkfd/kfd_migrate.c:922 at svm_migrate_vram_to_ram+0xbdc/0xcd0 [amdgpu] and /sys/class/kfd/kfd/proc/<pid>/vram_<gpu_id> stays at 4194304 until the process exits. Without dma_addr arrays, the split is still exact when the old range is completely in VRAM, which is what a prefetch of the whole range leaves. Give the new range all its pages in that case. The warning is gone and the VRAM usage drops back to 0. This doesn't cover a range that is only partly in VRAM without dma_addr arrays, e.g. after a partial migration, since svm_migrate_ram_to_vram() only counts the pages it actually migrated. That would need VRAM residency to be tracked per page independently of dma_addr. v2: - Rename counted to has_dma_addr and compare against old->npages (Philip) - Mention the XNACK off case and the partial migration limitation (Philip) (cherry picked from commit 7ca6f3359b557a267c7b07a2fd748b1473395e10)
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 006ad514a50cc49d904fd004b69c842ddfaabf1f , < 179bf8516d1276eda573245bbca6dc95f370aacb (git)
Affected: 006ad514a50cc49d904fd004b69c842ddfaabf1f , < 08a3f27f91a91fe105012ce8d910540d6a54b37d (git)
Affected: 006ad514a50cc49d904fd004b69c842ddfaabf1f , < 72360c3c34ef95f4ca0b27574c765d67504516c2 (git)
Affected: 006ad514a50cc49d904fd004b69c842ddfaabf1f , < 52957e813f2f025c86e4aa6e86cb4963ef94fd00 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (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_svm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "179bf8516d1276eda573245bbca6dc95f370aacb",
              "status": "affected",
              "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
              "versionType": "git"
            },
            {
              "lessThan": "08a3f27f91a91fe105012ce8d910540d6a54b37d",
              "status": "affected",
              "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
              "versionType": "git"
            },
            {
              "lessThan": "72360c3c34ef95f4ca0b27574c765d67504516c2",
              "status": "affected",
              "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
              "versionType": "git"
            },
            {
              "lessThan": "52957e813f2f025c86e4aa6e86cb4963ef94fd00",
              "status": "affected",
              "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_svm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "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.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: split vram_pages of SVM ranges prefetched without a GPU mapping\n\nWhen an SVM range is split, svm_range_split_pages() gives the new range\nthe number of VRAM pages counted in its part of the dma_addr arrays and\nsubtracts it from the old range. Pages migrated to VRAM by a prefetch\nhave no dma_addr entries until the range is mapped on a GPU, e.g. with\nno ACCESS attribute, or with XNACK off before the delayed restore worker\nmapped it, so the new range gets 0 and the old one keeps the count for\nboth.\n\nMigrating the parts back to system memory then gets the accounting\nwrong: the old part keeps a VRAM page count after all its pages are\ngone, so its svm_bo is never freed, and the new part underflows. On\nnavi31, as an unprivileged process: prefetch 4 MiB to the GPU, prefetch\nthe upper 2 MiB and then the lower 2 MiB back to system memory:\n\n  Recorded vram pages(0x0) should not be less than migration pages(0x200).\n  WARNING: ../amdkfd/kfd_migrate.c:922 at svm_migrate_vram_to_ram+0xbdc/0xcd0 [amdgpu]\n\nand /sys/class/kfd/kfd/proc/\u003cpid\u003e/vram_\u003cgpu_id\u003e stays at 4194304 until\nthe process exits.\n\nWithout dma_addr arrays, the split is still exact when the old range is\ncompletely in VRAM, which is what a prefetch of the whole range leaves.\nGive the new range all its pages in that case. The warning is gone and\nthe VRAM usage drops back to 0.\n\nThis doesn\u0027t cover a range that is only partly in VRAM without dma_addr\narrays, e.g. after a partial migration, since svm_migrate_ram_to_vram()\nonly counts the pages it actually migrated. That would need VRAM\nresidency to be tracked per page independently of dma_addr.\n\nv2:\n- Rename counted to has_dma_addr and compare against old-\u003enpages (Philip)\n- Mention the XNACK off case and the partial migration limitation (Philip)\n\n(cherry picked from commit 7ca6f3359b557a267c7b07a2fd748b1473395e10)"
        }
      ],
      "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 stale vram_pages state is created by svm_range_split_pages(), reached via the AMDKFD_IOC_SVM ioctl on /dev/kfd (svm_ioctl -\u003e svm_range_set_attr -\u003e svm_range_add -\u003e split_head/tail). Every input is a local syscall argument; no network data is involved.\nAC:L - Deterministic: prefetch a range to VRAM with no ACCESS attribute (dma_addr stays NULL), then SET_ATTR prefetch_loc=0 on part of it. The split miscounts and the WARN fires. The follow-on eviction and re-prefetch are also attacker steps: VRAM pressure from their own second process, then another PREFETCH. No race or hardware state is involved.\nPR:L - AMDKFD_IOC_SVM is registered with ioctl flags 0 and no capability check; /dev/kfd is GROUP=render MODE=0660 with uaccess, so any render-group or seated user can reach it. The commit reproduces it as an unprivileged process.\nUI:N - The attacker drives every step with their own SVM ioctls on their own address range; no other user has to act.\nS:U - The corrupted state (svm_range ttm_res, amdgpu VRAM resource, VRAM contents) belongs to the same kernel and amdgpu driver authority; no VM or IOMMU boundary is crossed.\nC:H - The stale range keeps ttm_res after svm_range_evict_svm_bo fails to clear it and ttm_bo_pipeline_gutting frees the resource. svm_range_validate_svm_bo then reuses the dangling pointer, so migrating back copies VRAM the attacker no longer owns into their pages.\nI:H - On re-prefetch, svm_migrate_copy_to_vram calls amdgpu_res_first() on the freed amdgpu VRAM resource (a slab use-after-free) and SDMA writes attacker page contents into VRAM now owned by other BOs, e.g. another process\u0027s data or page tables.\nA:H - The underflow deterministically fires WARN_ONCE(\"Recorded vram pages ... should not be less than migration pages\") in svm_migrate_vram_to_ram (panic_on_warn), and the dangling-ttm_res use-after-free can oops the kernel or corrupt GPU state."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:43:57.733Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/179bf8516d1276eda573245bbca6dc95f370aacb"
        },
        {
          "url": "https://git.kernel.org/stable/c/08a3f27f91a91fe105012ce8d910540d6a54b37d"
        },
        {
          "url": "https://git.kernel.org/stable/c/72360c3c34ef95f4ca0b27574c765d67504516c2"
        },
        {
          "url": "https://git.kernel.org/stable/c/52957e813f2f025c86e4aa6e86cb4963ef94fd00"
        }
      ],
      "title": "drm/amdkfd: split vram_pages of SVM ranges prefetched without a GPU mapping",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99868",
    "datePublished": "2026-11-30T13:17:48.597Z",
    "dateReserved": "2026-09-25T10:25:14.440Z",
    "dateUpdated": "2026-12-01T05:43:57.733Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99868",
      "date": "2026-12-04",
      "epss": "0.00187",
      "percentile": "0.0862"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/amd/amdkfd/kfd_svm.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "179bf8516d1276eda573245bbca6dc95f370aacb",
                    "status": "affected",
                    "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "08a3f27f91a91fe105012ce8d910540d6a54b37d",
                    "status": "affected",
                    "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "72360c3c34ef95f4ca0b27574c765d67504516c2",
                    "status": "affected",
                    "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "52957e813f2f025c86e4aa6e86cb4963ef94fd00",
                    "status": "affected",
                    "version": "006ad514a50cc49d904fd004b69c842ddfaabf1f",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/amd/amdkfd/kfd_svm.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.8"
                  },
                  {
                    "lessThan": "6.8",
                    "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: split vram_pages of SVM ranges prefetched without a GPU mapping\n\nWhen an SVM range is split, svm_range_split_pages() gives the new range\nthe number of VRAM pages counted in its part of the dma_addr arrays and\nsubtracts it from the old range. Pages migrated to VRAM by a prefetch\nhave no dma_addr entries until the range is mapped on a GPU, e.g. with\nno ACCESS attribute, or with XNACK off before the delayed restore worker\nmapped it, so the new range gets 0 and the old one keeps the count for\nboth.\n\nMigrating the parts back to system memory then gets the accounting\nwrong: the old part keeps a VRAM page count after all its pages are\ngone, so its svm_bo is never freed, and the new part underflows. On\nnavi31, as an unprivileged process: prefetch 4 MiB to the GPU, prefetch\nthe upper 2 MiB and then the lower 2 MiB back to system memory:\n\n  Recorded vram pages(0x0) should not be less than migration pages(0x200).\n  WARNING: ../amdkfd/kfd_migrate.c:922 at svm_migrate_vram_to_ram+0xbdc/0xcd0 [amdgpu]\n\nand /sys/class/kfd/kfd/proc/\u003cpid\u003e/vram_\u003cgpu_id\u003e stays at 4194304 until\nthe process exits.\n\nWithout dma_addr arrays, the split is still exact when the old range is\ncompletely in VRAM, which is what a prefetch of the whole range leaves.\nGive the new range all its pages in that case. The warning is gone and\nthe VRAM usage drops back to 0.\n\nThis doesn\u0027t cover a range that is only partly in VRAM without dma_addr\narrays, e.g. after a partial migration, since svm_migrate_ram_to_vram()\nonly counts the pages it actually migrated. That would need VRAM\nresidency to be tracked per page independently of dma_addr.\n\nv2:\n- Rename counted to has_dma_addr and compare against old-\u003enpages (Philip)\n- Mention the XNACK off case and the partial migration limitation (Philip)\n\n(cherry picked from commit 7ca6f3359b557a267c7b07a2fd748b1473395e10)"
          }
        ],
        "id": "CVE-2026-99868",
        "lastModified": "2026-12-01T06:17:54.940",
        "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:20.837",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/08a3f27f91a91fe105012ce8d910540d6a54b37d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/179bf8516d1276eda573245bbca6dc95f370aacb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/52957e813f2f025c86e4aa6e86cb4963ef94fd00"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/72360c3c34ef95f4ca0b27574c765d67504516c2"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-12-01T07:36:55+00:00",
      "cve": "CVE-2026-99868",
      "id": "CVE-2026-99868",
      "initial_release_date": "2026-11-30T13:17:48.597000+00:00",
      "product_status:known_affected": "187",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via improper memory accounting in AMD GPU driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99868.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.