CVE-2026-98510 (GCVE-0-2026-98510)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:17 – Updated: 2026-10-24 14:09
VLAI
Title
drm/xe/vm: nuke PTs only after unlinking contested VMAs
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/xe/vm: nuke PTs only after unlinking contested VMAs In xe_vm_close_and_put(), external-BO VMAs are queued on the contested list for deferred destruction via xe_vma_destroy_unlocked(). However, xe_vm_pt_destroy() was previously invoked before processing contested VMAs, destroying vm->pt_root while those VMAs were still linked to their respective buffer objects (vm_bo->list.gpuva). If a concurrent thread evicts one of those shared buffer objects, xe_bo_trigger_rebind() holding only bo->resv walks the BO's VMAs and, in fault mode, calls xe_vm_invalidate_vma() -> xe_pt_zap_ptes(). Because vm->pt_root[tile->id] is already NULL, dereferencing pt->level causes a NULL ptr deref. Fix this by deferring xe_vm_free_scratch() and xe_vm_pt_destroy() until after all contested VMAs have been unlinked and destroyed. User is reporting hitting a NULL ptr deref in xe_pt_zap_ptes(), which could be explained by this race. (cherry picked from commit c2863648959489767f08892fd6e90577d2ea0b6a)
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7067 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc , < 70fddc065ac80845ffd33095b3635d59883cf7e6 (git)
Affected: b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc , < ba678c2b02e0d36b53deb5a6d5e5ea044d36def7 (git)
Affected: b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc , < bddaa5e4094c134452c29e20a26c4718827e4cb1 (git)
Affected: b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc , < 24a22fb3c731474b68e986af6804db450fb88617 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (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/xe/xe_vm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "70fddc065ac80845ffd33095b3635d59883cf7e6",
              "status": "affected",
              "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
              "versionType": "git"
            },
            {
              "lessThan": "ba678c2b02e0d36b53deb5a6d5e5ea044d36def7",
              "status": "affected",
              "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
              "versionType": "git"
            },
            {
              "lessThan": "bddaa5e4094c134452c29e20a26c4718827e4cb1",
              "status": "affected",
              "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
              "versionType": "git"
            },
            {
              "lessThan": "24a22fb3c731474b68e986af6804db450fb88617",
              "status": "affected",
              "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/xe/xe_vm.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.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "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/xe/vm: nuke PTs only after unlinking contested VMAs\n\nIn xe_vm_close_and_put(), external-BO VMAs are queued on the contested\nlist for deferred destruction via xe_vma_destroy_unlocked(). However,\nxe_vm_pt_destroy() was previously invoked before processing contested\nVMAs, destroying vm-\u003ept_root while those VMAs were still linked to their\nrespective buffer objects (vm_bo-\u003elist.gpuva).\n\nIf a concurrent thread evicts one of those shared buffer objects,\nxe_bo_trigger_rebind() holding only bo-\u003eresv walks the BO\u0027s VMAs and, in\nfault mode, calls xe_vm_invalidate_vma() -\u003e xe_pt_zap_ptes(). Because\nvm-\u003ept_root[tile-\u003eid] is already NULL, dereferencing pt-\u003elevel causes a\nNULL ptr deref.\n\nFix this by deferring xe_vm_free_scratch() and xe_vm_pt_destroy() until\nafter all contested VMAs have been unlinked and destroyed.\n\nUser is reporting hitting a NULL ptr deref in xe_pt_zap_ptes(), which\ncould be explained by this race.\n\n(cherry picked from commit c2863648959489767f08892fd6e90577d2ea0b6a)"
        }
      ],
      "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 - A local render-node client reaches the patched xe_vm_close_and_put() through DRM_IOCTL_XE_VM_DESTROY -\u003e xe_vm_destroy_ioctl() or file close -\u003e xe_file_close(); the competing path is another local DRM ioctl, not wire-supplied data.\nAC:L - The same client can bind an external BO to a fault-mode VM and race VM_DESTROY against PREFETCH from a second VM; PREFETCH reaches xe_bo_migrate() -\u003e xe_bo_move_notify() -\u003e xe_bo_trigger_rebind(), so the attacker controls both sides.\nPR:L - XE_VM_CREATE, XE_GEM_CREATE, XE_VM_BIND, and XE_VM_DESTROY are registered with DRM_RENDER_ALLOW and contain no capability or DRM-authentication check, making the path available to an unprivileged user with render-node access.\nUI:N - The attacking process creates the VM and external BO, establishes the immediate mapping, and issues both the destroy and migration operations itself; no victim action is required.\nS:U - The fault occurs in the host xe DRM driver while processing that driver\u0027s local render-node operations and does not cross a VM, IOMMU, or other security authority boundary.\nC:H - xe_vm_close_and_put() leaves the VMA linked while xe_pt_destroy() recursively kfree()s PT nodes with vm-\u003ept_root still published; a racing xe_pt_zap_ptes() can therefore walk heap-groomable freed PT metadata and dereference stale object pointers.\nI:H - In the UAF interleaving, xe_pt_zap_ptes_entry() uses the freed metadata\u0027s xe_child-\u003ebo-\u003evmap as the destination for xe_map_memset(), allowing a groomed stale pointer to redirect writes and potentially corrupt control flow.\nA:H - In the documented interleaving, xe_vm_pt_destroy() sets vm-\u003ept_root[tile-\u003eid] to NULL and xe_pt_zap_ptes() dereferences pt-\u003elevel, producing the reported kernel NULL-pointer oops."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:09:11.598Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/70fddc065ac80845ffd33095b3635d59883cf7e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ba678c2b02e0d36b53deb5a6d5e5ea044d36def7"
        },
        {
          "url": "https://git.kernel.org/stable/c/bddaa5e4094c134452c29e20a26c4718827e4cb1"
        },
        {
          "url": "https://git.kernel.org/stable/c/24a22fb3c731474b68e986af6804db450fb88617"
        }
      ],
      "title": "drm/xe/vm: nuke PTs only after unlinking contested VMAs",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98510",
    "datePublished": "2026-10-18T15:17:20.805Z",
    "dateReserved": "2026-09-25T10:25:14.354Z",
    "dateUpdated": "2026-10-24T14:09:11.598Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98510",
      "date": "2026-10-26",
      "epss": "0.00168",
      "percentile": "0.06172"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-21T18:37:04.000Z",
      "cve": "CVE-2026-98510",
      "id": "msrc_CVE-2026-98510",
      "initial_release_date": "2026-10-20T22:24:17.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "drm/xe/vm: nuke PTs only after unlinking contested VMAs",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98510.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/xe/xe_vm.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "70fddc065ac80845ffd33095b3635d59883cf7e6",
                    "status": "affected",
                    "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ba678c2b02e0d36b53deb5a6d5e5ea044d36def7",
                    "status": "affected",
                    "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bddaa5e4094c134452c29e20a26c4718827e4cb1",
                    "status": "affected",
                    "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "24a22fb3c731474b68e986af6804db450fb88617",
                    "status": "affected",
                    "version": "b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/xe/xe_vm.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.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "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/xe/vm: nuke PTs only after unlinking contested VMAs\n\nIn xe_vm_close_and_put(), external-BO VMAs are queued on the contested\nlist for deferred destruction via xe_vma_destroy_unlocked(). However,\nxe_vm_pt_destroy() was previously invoked before processing contested\nVMAs, destroying vm-\u003ept_root while those VMAs were still linked to their\nrespective buffer objects (vm_bo-\u003elist.gpuva).\n\nIf a concurrent thread evicts one of those shared buffer objects,\nxe_bo_trigger_rebind() holding only bo-\u003eresv walks the BO\u0027s VMAs and, in\nfault mode, calls xe_vm_invalidate_vma() -\u003e xe_pt_zap_ptes(). Because\nvm-\u003ept_root[tile-\u003eid] is already NULL, dereferencing pt-\u003elevel causes a\nNULL ptr deref.\n\nFix this by deferring xe_vm_free_scratch() and xe_vm_pt_destroy() until\nafter all contested VMAs have been unlinked and destroyed.\n\nUser is reporting hitting a NULL ptr deref in xe_pt_zap_ptes(), which\ncould be explained by this race.\n\n(cherry picked from commit c2863648959489767f08892fd6e90577d2ea0b6a)"
          }
        ],
        "id": "CVE-2026-98510",
        "lastModified": "2026-10-24T14:16:45.137",
        "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-10-18T16:17:02.203",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/24a22fb3c731474b68e986af6804db450fb88617"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/70fddc065ac80845ffd33095b3635d59883cf7e6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ba678c2b02e0d36b53deb5a6d5e5ea044d36def7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bddaa5e4094c134452c29e20a26c4718827e4cb1"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-24T14:23:26+00:00",
      "cve": "CVE-2026-98510",
      "id": "CVE-2026-98510",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:known_affected": "185",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/xe/vm: nuke PTs only after unlinking contested VMAs",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98510.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-22T16:37:49Z",
      "cve": "CVE-2026-98510",
      "id": "CVE-2026-98510",
      "initial_release_date": "2026-10-18T23:45:49Z",
      "product_status:known_affected": "13",
      "product_status:known_not_affected": "335",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98510",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98510.json",
      "version": "4"
    }
  }
}



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