# CVE-2025-37869: drm/xe: Use local fence in error path of xe_migrate_clear

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 15% of CVEs (2026-11-30)
- Published: 2025-05-09T06:43:58.083Z
- Modified: 2026-10-15T22:18:19.440Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

drm/xe: Use local fence in error path of xe_migrate_clear

The intent of the error path in xe_migrate_clear is to wait on locally
generated fence and then return. The code is waiting on m->fence which
could be the local fence but this is only stable under the job mutex
leading to a possible UAF. Fix code to wait on local fence.

(cherry picked from commit 762b7e95362170b3e13a8704f38d5e47eca4ba74)

(As written by CVE List.)

## Affected

- Linux Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987 before 2ac5f466f62892a7d1ac2d1a3eb6cd14efbe2f2d; from dd08ebf6c3525a7ea2186e636df064ea47281987 before dc712938aa26b001f448d5e93f59d57fa80f2dbd; from dd08ebf6c3525a7ea2186e636df064ea47281987 before 20659d3150f1a2a258a173fe011013178ff2a197; 6.8 (not affected: before 6.8; from 6.12.25 up to 6.12.*; from 6.14.4 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.8 before 6.12.25; from 6.13 before 6.14.4; 6.15

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/2ac5f466f62892a7d1ac2d1a3eb6cd14efbe2f2d> (patch)
- <https://git.kernel.org/stable/c/dc712938aa26b001f448d5e93f59d57fa80f2dbd> (patch)
- <https://git.kernel.org/stable/c/20659d3150f1a2a258a173fe011013178ff2a197> (patch)

## Sources

- CVE List: [CVE-2025-37869](https://www.cve.org/CVERecord?id=CVE-2025-37869), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-37869](https://nvd.nist.gov/vuln/detail/CVE-2025-37869), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-37869 · Whole record: https://cve.day/CVE-2025-37869.json · Rebuilt by cve.day 2026-11-25T22:58:57.855Z
