What’s Vulnerable › Vulnerabilities
CVE-2025-38511: drm/xe/pf: Clear all LMTT pages on alloc
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-16 · updated 2026-10-15
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)
Affected products
- Linux kernel: from 6.8 before 6.12.39; from 6.13 before 6.15.7; 6.16-rc1, 6.16-rc2, 6.16-rc3, 6.16-rc4, 6.16-rc5 — fixed in 6.12.39, 6.15.7
How to fix
Upgrade to a fixed version: Linux kernel 6.12.39, 6.15.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5d21892c2e15b6a27f8bc907693eca7c6b7cc269
- https://git.kernel.org/stable/c/705a412a367f383430fa34bada387af2e52eb043
- https://git.kernel.org/stable/c/ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8
Get alerted when CVE-2025-38511 or the next vulnerability affects your stack