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)
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "166421354858766795276467984611531582116",
"length": 788.0
},
"target": {
"function": "lmtt_pt_alloc",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-0db88395",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "166421354858766795276467984611531582116",
"length": 788.0
},
"target": {
"function": "lmtt_pt_alloc",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-0ebf2677",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d21892c2e15b6a27f8bc907693eca7c6b7cc269",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "232148723934107051883436829304097705553",
"length": 91.0
},
"target": {
"function": "lmtt_pt_free",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-1e9e1bd1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "285127719075730827153114931780455103755",
"length": 655.0
},
"target": {
"function": "lmtt_write_pte",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-30c40a7a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@705a412a367f383430fa34bada387af2e52eb043",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "34527975081693975344755989989822196624",
"length": 768.0
},
"target": {
"function": "lmtt_pt_alloc",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-432b13e1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@705a412a367f383430fa34bada387af2e52eb043",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "232148723934107051883436829304097705553",
"length": 91.0
},
"target": {
"function": "lmtt_pt_free",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-92382fca",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@705a412a367f383430fa34bada387af2e52eb043",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"264048682537498147562158640364436831202",
"79107234931525234636502430012187522846",
"299692166528209665701343258806650617090",
"145953819796211651532702794860324401501",
"298138101044763138746021847811807462769",
"126955439635930423062679219530920323354",
"115304595624005879319683641641082549168",
"112985238945175945043830949739050702635",
"21629265636109664129797517381470194966",
"334602112315243762201427299232695058950",
"119359063649654413233724772268428031624",
"70118769113810623433954258191833902130",
"321675126048491722475588303428787189999",
"212304127907348511201763547863611556346",
"284611375372885920351162758896018368107"
]
},
"target": {
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-93dd89e0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@705a412a367f383430fa34bada387af2e52eb043",
"signature_type": "Line"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"264048682537498147562158640364436831202",
"79107234931525234636502430012187522846",
"299692166528209665701343258806650617090",
"145953819796211651532702794860324401501",
"298138101044763138746021847811807462769",
"126955439635930423062679219530920323354",
"115304595624005879319683641641082549168",
"112985238945175945043830949739050702635",
"21629265636109664129797517381470194966",
"334602112315243762201427299232695058950",
"119359063649654413233724772268428031624",
"70118769113810623433954258191833902130",
"321675126048491722475588303428787189999",
"212304127907348511201763547863611556346",
"284611375372885920351162758896018368107"
]
},
"target": {
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-ad6e2ec7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d21892c2e15b6a27f8bc907693eca7c6b7cc269",
"signature_type": "Line"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "232148723934107051883436829304097705553",
"length": 91.0
},
"target": {
"function": "lmtt_pt_free",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-aef20c68",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d21892c2e15b6a27f8bc907693eca7c6b7cc269",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"264048682537498147562158640364436831202",
"79107234931525234636502430012187522846",
"299692166528209665701343258806650617090",
"145953819796211651532702794860324401501",
"298138101044763138746021847811807462769",
"126955439635930423062679219530920323354",
"115304595624005879319683641641082549168",
"112985238945175945043830949739050702635",
"21629265636109664129797517381470194966",
"334602112315243762201427299232695058950",
"119359063649654413233724772268428031624",
"70118769113810623433954258191833902130",
"321675126048491722475588303428787189999",
"212304127907348511201763547863611556346",
"284611375372885920351162758896018368107"
]
},
"target": {
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-d72f8f7b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8",
"signature_type": "Line"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "285127719075730827153114931780455103755",
"length": 655.0
},
"target": {
"function": "lmtt_write_pte",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-d8746bc4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ff4b8c9ade1b82979fdd01e6f45b60f92eed26d8",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "285127719075730827153114931780455103755",
"length": 655.0
},
"target": {
"function": "lmtt_write_pte",
"file": "drivers/gpu/drm/xe/xe_lmtt.c"
},
"id": "CVE-2025-38511-da600a1e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d21892c2e15b6a27f8bc907693eca7c6b7cc269",
"signature_type": "Function"
}
]