# CVE-2025-39811: drm/xe/vm: Clear the scratch_pt pointer on error

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-16T13:00:13.395Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/xe/vm: Clear the scratch_pt pointer on error

Avoid triggering a dereference of an error pointer on cleanup in
xe_vm_free_scratch() by clearing any scratch_pt error pointer.

(cherry picked from commit 358ee50ab565f3c8ea32480e9d03127a81ba32f8)

(As written by CVE List.)

## Affected

- Linux Linux: from 06951c2ee72df2f53b71e7cf2b504d4fa6bba453 before c8277d229c7840e8090d4704e50f2ca014d194c7; from 06951c2ee72df2f53b71e7cf2b504d4fa6bba453 before 84603ed1d73ebb8de856dc11f4f5d3541c48f7a2; from 06951c2ee72df2f53b71e7cf2b504d4fa6bba453 before 2b55ddf36229e0278c956215784ab1feeff510aa; 6.8 (not affected: before 6.8; from 6.12.45 up to 6.12.*; from 6.16.5 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.8 before 6.12.45; from 6.13 before 6.16.5; 6.17

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c8277d229c7840e8090d4704e50f2ca014d194c7> (patch)
- <https://git.kernel.org/stable/c/84603ed1d73ebb8de856dc11f4f5d3541c48f7a2> (patch)
- <https://git.kernel.org/stable/c/2b55ddf36229e0278c956215784ab1feeff510aa> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-39811 · Whole record: https://cve.day/CVE-2025-39811.json · Rebuilt by cve.day 2026-11-25T22:59:04.723Z
