# CVE-2026-98510: drm/xe/vm: nuke PTs only after unlinking contested VMAs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-10-18T15:17:20.805Z
- **Modified:** 2026-10-24T14:16:45.137Z

## Who should check

- Anyone running Linux \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< 70fddc065ac80845ffd33095b3635d59883cf7e6; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< ba678c2b02e0d36b53deb5a6d5e5ea044d36def7; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< bddaa5e4094c134452c29e20a26c4718827e4cb1; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< 24a22fb3c731474b68e986af6804db450fb88617
- Anyone running Linux 6.8

## Description

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)

## Affected and fixed versions

- Linux: \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< 70fddc065ac80845ffd33095b3635d59883cf7e6; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< ba678c2b02e0d36b53deb5a6d5e5ea044d36def7; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< bddaa5e4094c134452c29e20a26c4718827e4cb1; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< 24a22fb3c731474b68e986af6804db450fb88617 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 24a22fb3c731474b68e986af6804db450fb88617 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98510. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98510.md
Affected: Linux >= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, < 70fddc065ac80845ffd33095b3635d59883cf7e6; >= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, < ba678c2b02e0d36b53deb5a6d5e5ea044d36def7; >= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, < bddaa5e4094c134452c29e20a26c4718827e4cb1; >= b06d47be7c83165d3b3e45e…
Fixed in: Linux 70fddc065ac80845ffd33095b3635d59883cf7e6, Linux 24a22fb3c731474b68e986af6804db450fb88617

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98510 being exploited?

There is no confirmed exploitation: CVE-2026-98510 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98510?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98510?

Linux \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< 70fddc065ac80845ffd33095b3635d59883cf7e6; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< ba678c2b02e0d36b53deb5a6d5e5ea044d36def7; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< bddaa5e4094c134452c29e20a26c4718827e4cb1; \>= b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc, \< 24a22fb3c731474b68e986af6804db450fb88617; Linux 6.8.

### Is there a fix for CVE-2026-98510?

Yes. Fixed in Linux 70fddc065ac80845ffd33095b3635d59883cf7e6, Linux 24a22fb3c731474b68e986af6804db450fb88617. Upgrade Linux to 24a22fb3c731474b68e986af6804db450fb88617 or later.

### How do I check if I'm affected by CVE-2026-98510?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/70fddc065ac80845ffd33095b3635d59883cf7e6>
- other: <https://git.kernel.org/stable/c/ba678c2b02e0d36b53deb5a6d5e5ea044d36def7>
- other: <https://git.kernel.org/stable/c/bddaa5e4094c134452c29e20a26c4718827e4cb1>
- other: <https://git.kernel.org/stable/c/24a22fb3c731474b68e986af6804db450fb88617>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98510>

HTML: <https://flawdb.com/CVE-2026-98510> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98510>
