CVE Database›CVE-2025-38511

CVE-2025-38511

kernel: drm/xe/pf: Clear all LMTT pages on alloc

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · August 16, 2025

Updated · October 30, 2026

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)

Statement

Red Hat has evaluated this vulnerability as having a Moderate security impact because exploitation is constrained to local virtualization environments utilizing Intel Xe GPU hardware with SR-IOV enabled. The issue arises during virtual function provisioning, where uncleared translation table pages could permit a guest virtual machine to reference residual memory allocations belonging to other guests or the host physical function. Because triggering the flaw demands specialized graphics hardware and an active virtual function configuration, systems not deploying Intel Xe SR-IOV partitioning are not exposed.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-824 · Access of Uninitialized Pointer