CVE-2025-38511
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | b1d20405821812ad70d95eefe58cadc6d50b0917 < ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8 | affected |
| Linux | Linux | b1d20405821812ad70d95eefe58cadc6d50b0917 < 5d21892c2e15b6a27f8bc907693eca7c6b7cc269 | affected |
| Linux | Linux | b1d20405821812ad70d95eefe58cadc6d50b0917 < 705a412a367f383430fa34bada387af2e52eb043 | affected |
| Linux | Linux | 6.8 | affected |
| Linux | Linux | 0 < 6.8 | unaffected |
| Linux | Linux | 6.12.39 <= 6.12.* | unaffected |
| Linux | Linux | 6.15.7 <= 6.15.* | unaffected |
| Linux | Linux | 6.16 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8
- https://git.kernel.org/stable/c/5d21892c2e15b6a27f8bc907693eca7c6b7cc269
- https://git.kernel.org/stable/c/705a412a367f383430fa34bada387af2e52eb043
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.