In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Process deferred GGTT node removals on device unwind
While we are indirectly draining our dedicated workqueue ggtt->wq that we use to complete asynchronous removal of some GGTT nodes, this happends as part of the managed-drm unwinding (ggttfiniearly), which could be later then manage-device unwinding, where we could already unmap our MMIO/GMS mapping (mmio_fini).
This was recently observed during unsuccessful VF initialization:
[ ] xe 0000:00:02.1: probe with driver xe failed with error -62 [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747340 _xebounpinmapnovm (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747540 _xebounpinmapnovm (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747240 _xebounpinmapnovm (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747040 tilesfini (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e746840 mmiofini (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747f40 xebopinnedfini (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e746b40 devmdrmdevinitrelease (16 bytes) [ ] xe 0000:00:02.1: [drm:drmmanagedrelease] drmres release begin [ ] xe 0000:00:02.1: [drm:drmmanagedrelease] REL ffff88810ef81640 _finirelay (8 bytes) [ ] xe 0000:00:02.1: [drm:drmmanagedrelease] REL ffff88810ef80d40 gucctfini (8 bytes) [ ] xe 0000:00:02.1: [drm:drmmanagedrelease] REL ffff88810ef80040 _drmmmutexrelease (8 bytes) [ ] xe 0000:00:02.1: [drm:drmmanagedrelease] REL ffff88810ef80140 ggttfiniearly (8 bytes)
and this was leading to:
[ ] BUG: unable to handle page fault for address: ffffc900058162a0 [ ] #PF: supervisor write access in kernel mode [ ] #PF: errorcode(0x0002) - not-present page [ ] Oops: Oops: 0002 [#1] SMP NOPTI [ ] Tainted: [W]=WARN [ ] Workqueue: xe-ggtt-wq ggttnoderemoveworkfunc [xe] [ ] RIP: 0010:xeggttsetpte+0x6d/0x350 [xe] [ ] Call Trace: [ ] <TASK> [ ] xeggttclear+0xb0/0x270 [xe] [ ] ggttnoderemove+0xbb/0x120 [xe] [ ] ggttnoderemoveworkfunc+0x30/0x50 [xe] [ ] processonework+0x22b/0x6f0 [ ] worker_thread+0x1e8/0x3d
Add managed-device action that will explicitly drain the workqueue with all pending node removals prior to releasing MMIO/GSM mapping.
(cherry picked from commit 89d2835c3680ab1938e22ad81b1c9f8c686bd391)
[
{
"id": "CVE-2025-38355-01579e39",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"295177655665725633170357159158902790355",
"336673590086021051726966769637023179650",
"207231565624150831007337556411052259956",
"53756765938848325554004731046062317590",
"285205593278208128456090975790636271286",
"223227390271160031851061255249450883578"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df",
"target": {
"file": "drivers/gpu/drm/xe/xe_ggtt.c"
}
},
{
"id": "CVE-2025-38355-1cff2c7a",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"295177655665725633170357159158902790355",
"336673590086021051726966769637023179650",
"207231565624150831007337556411052259956",
"53756765938848325554004731046062317590",
"285205593278208128456090975790636271286",
"223227390271160031851061255249450883578"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@af2b588abe006bd55ddd358c4c3b87523349c475",
"target": {
"file": "drivers/gpu/drm/xe/xe_ggtt.c"
}
},
{
"id": "CVE-2025-38355-3930f3ad",
"signature_version": "v1",
"digest": {
"function_hash": "20068412872657286044848881337965949396",
"length": 1295.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@af2b588abe006bd55ddd358c4c3b87523349c475",
"target": {
"file": "drivers/gpu/drm/xe/xe_ggtt.c",
"function": "xe_ggtt_init_early"
}
},
{
"id": "CVE-2025-38355-75dc4446",
"signature_version": "v1",
"digest": {
"function_hash": "164964658838478341953631052809386532534",
"length": 1282.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df",
"target": {
"file": "drivers/gpu/drm/xe/xe_ggtt.c",
"function": "xe_ggtt_init_early"
}
},
{
"id": "CVE-2025-38355-8ff9fd02",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"295177655665725633170357159158902790355",
"336673590086021051726966769637023179650",
"207231565624150831007337556411052259956",
"53756765938848325554004731046062317590",
"285205593278208128456090975790636271286",
"223227390271160031851061255249450883578"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab4eba9b26a93605b4f2f2b688d6ba818d7331d",
"target": {
"file": "drivers/gpu/drm/xe/xe_ggtt.c"
}
},
{
"id": "CVE-2025-38355-a0b028fe",
"signature_version": "v1",
"digest": {
"function_hash": "20068412872657286044848881337965949396",
"length": 1295.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab4eba9b26a93605b4f2f2b688d6ba818d7331d",
"target": {
"file": "drivers/gpu/drm/xe/xe_ggtt.c",
"function": "xe_ggtt_init_early"
}
}
]