# CVE-2025-38355: drm/xe: Process deferred GGTT node removals on device unwind

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.26% (percentile 11, 2026-11-26)
- **Published:** 2025-07-25T12:47:26.994Z
- **Modified:** 2026-11-05T21:18:28.580Z

## Who should check

- Anyone running Linux \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< 1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df; \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< 5ab4eba9b26a93605b4f2f2b688d6ba818d7331d; \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< af2b588abe006bd55ddd358c4c3b87523349c475
- Anyone running Linux 6.12

## Description

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

drm/xe: Process deferred GGTT node removals on device unwind

While we are indirectly draining our dedicated workqueue ggtt-\>wq
that we use to complete asynchronous removal of some GGTT nodes,
this happends as part of the managed-drm unwinding (ggtt\_fini\_early),
which could be later then manage-device unwinding, where we could
already unmap our MMIO/GMS mapping (mmio\_fini).

This was recently observed during unsuccessful VF initialization:

 \[ \] xe 0000:00:02.1: probe with driver xe failed with error -62
 \[ \] xe 0000:00:02.1: DEVRES REL ffff88811e747340 \_\_xe\_bo\_unpin\_map\_no\_vm (16 bytes)
 \[ \] xe 0000:00:02.1: DEVRES REL ffff88811e747540 \_\_xe\_bo\_unpin\_map\_no\_vm (16 bytes)
 \[ \] xe 0000:00:02.1: DEVRES REL ffff88811e747240 \_\_xe\_bo\_unpin\_map\_no\_vm (16 bytes)
 \[ \] xe 0000:00:02.1: DEVRES REL ffff88811e747040 tiles\_fini (16 bytes)
 \[ \] xe 0000:00:02.1: DEVRES REL ffff88811e746840 mmio\_fini (16 bytes)
 \[ \] xe 0000:00:02.1: DEVRES REL ffff88811e747f40 xe\_bo\_pinned\_fini (16 bytes)
 \[ \] xe 0000:00:02.1: DEVRES REL ffff88811e746b40 devm\_drm\_dev\_init\_release (16 bytes)
 \[ \] xe 0000:00:02.1: \[drm:drm\_managed\_release\] drmres release begin
 \[ \] xe 0000:00:02.1: \[drm:drm\_managed\_release\] REL ffff88810ef81640 \_\_fini\_relay (8 bytes)
 \[ \] xe 0000:00:02.1: \[drm:drm\_managed\_release\] REL ffff88810ef80d40 guc\_ct\_fini (8 bytes)
 \[ \] xe 0000:00:02.1: \[drm:drm\_managed\_release\] REL ffff88810ef80040 \_\_drmm\_mutex\_release (8 bytes)
 \[ \] xe 0000:00:02.1: \[drm:drm\_managed\_release\] REL ffff88810ef80140 ggtt\_fini\_early (8 bytes)

and this was leading to:

 \[ \] BUG: unable to handle page fault for address: ffffc900058162a0
 \[ \] \#PF: supervisor write access in kernel mode
 \[ \] \#PF: error\_code(0x0002) - not-present page
 \[ \] Oops: Oops: 0002 \[\#1\] SMP NOPTI
 \[ \] Tainted: \[W\]=WARN
 \[ \] Workqueue: xe-ggtt-wq ggtt\_node\_remove\_work\_func \[xe\]
 \[ \] RIP: 0010:xe\_ggtt\_set\_pte+0x6d/0x350 \[xe\]
 \[ \] Call Trace:
 \[ \]  \<TASK\>
 \[ \]  xe\_ggtt\_clear+0xb0/0x270 \[xe\]
 \[ \]  ggtt\_node\_remove+0xbb/0x120 \[xe\]
 \[ \]  ggtt\_node\_remove\_work\_func+0x30/0x50 \[xe\]
 \[ \]  process\_one\_work+0x22b/0x6f0
 \[ \]  worker\_thread+0x1e8/0x3d

Add managed-device action that will explicitly drain the workqueue
with all pending node removals prior to releasing MMIO/GSM mapping.

(cherry picked from commit 89d2835c3680ab1938e22ad81b1c9f8c686bd391)

## Affected and fixed versions

- Linux: \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< 1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df; \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< 5ab4eba9b26a93605b4f2f2b688d6ba818d7331d; \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< af2b588abe006bd55ddd358c4c3b87523349c475 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38355.md
Affected: Linux >= 919bb54e989c1edef87e9797be125c94c450fc65, < 1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df; >= 919bb54e989c1edef87e9797be125c94c450fc65, < 5ab4eba9b26a93605b4f2f2b688d6ba818d7331d; >= 919bb54e989c1edef87e9797be125c94c450fc65, < af2b588abe006bd55ddd358c4c3b87523349c475; Linux 6.12
Fixed in: Linux 1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df, Linux 5ab4eba9b26a93605b4f2f2b688d6ba818d7331d

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-2025-38355 being exploited?

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

### How serious is CVE-2025-38355?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38355?

Linux \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< 1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df; \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< 5ab4eba9b26a93605b4f2f2b688d6ba818d7331d; \>= 919bb54e989c1edef87e9797be125c94c450fc65, \< af2b588abe006bd55ddd358c4c3b87523349c475; Linux 6.12.

### Is there a fix for CVE-2025-38355?

Yes. Fixed in Linux 1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df, Linux 5ab4eba9b26a93605b4f2f2b688d6ba818d7331d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38355?

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

- patch: <https://git.kernel.org/stable/c/1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df>
- patch: <https://git.kernel.org/stable/c/5ab4eba9b26a93605b4f2f2b688d6ba818d7331d>
- patch: <https://git.kernel.org/stable/c/af2b588abe006bd55ddd358c4c3b87523349c475>

## 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-2025-38355>

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