# CVE-2025-38511: drm/xe/pf: Clear all LMTT pages on alloc

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-08-16T10:54:53.346Z
- Modified: 2026-10-15T22:18:43.727Z
- 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/pf: Clear all LMTT pages on alloc

Our LMEM buffer objects are not cleared by default on alloc
and during VF provisioning we only setup LMTT PTEs for the
actually provisioned LMEM range. But beyond that valid range
we might leave some stale data that could either point to some
other VFs allocations or even to the PF pages.

Explicitly clear all new LMTT page to avoid the risk that a
malicious VF would try to exploit that gap.

While around add asserts to catch any undesired PTE overwrites
and low-level debug traces to track LMTT PT life-cycle.

(cherry picked from commit 3fae6918a3e27cce20ded2551f863fb05d4bef8d)

(As written by CVE List.)

## Affected

- Linux Linux: from b1d20405821812ad70d95eefe58cadc6d50b0917 before ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8; from b1d20405821812ad70d95eefe58cadc6d50b0917 before 5d21892c2e15b6a27f8bc907693eca7c6b7cc269; from b1d20405821812ad70d95eefe58cadc6d50b0917 before 705a412a367f383430fa34bada387af2e52eb043; 6.8 (not affected: before 6.8; from 6.12.39 up to 6.12.*; from 6.15.7 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.8 before 6.12.39; from 6.13 before 6.15.7; 6.16

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/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/ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8> (patch)
- <https://git.kernel.org/stable/c/5d21892c2e15b6a27f8bc907693eca7c6b7cc269> (patch)
- <https://git.kernel.org/stable/c/705a412a367f383430fa34bada387af2e52eb043> (patch)

## Sources

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

---

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