drm/amdkfd: Add TLB flush after MES queue eviction/suspension
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e230c546ed93741833ab5babb0b202f9c2052b45, Kernel 5bbd7f283312d0209a0fedcc9d2d33b5afa5a7b1, Kernel 6aae545c87087e4dc96e205452243813bfa73ba2 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Add TLB flush after MES queue eviction/suspension MES (Micro Engine Scheduler) does not perform heavy-weight TLB invalidation after unmapping queues, unlike HWS which does this automatically. This causes a race condition where in-flight DMA descriptors can access memory that has been unmapped, leading to page faults and GPU queue hangs during SVM page migration. The issue manifests as KFDSVMRangeTest.MultiThreadMigrationTest failures on gfx1151 (Strix Point) with XNACK mode 1 enabled - the GPU compute queue hangs with packets submitted but never consumed. Add kfd_flush_tlb() calls after MES queue removal in two locations: - evict_process_queues_cpsch(): after all queues removed during eviction - suspend_queues(): after debug/criu queue suspension (with mem_fence barrier) This ensures all in-flight memory accesses from unmapped queues are flushed before memory is freed or migrated. (cherry picked from commit f5c4f88e0f9c45a8fb9dfac0c1df726c95e41b77)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=cc009e613de6560eb499f8bc92c80a737752cb30 <e230c546ed93741833ab5babb0b202f9c2052b45, >=cc009e613de6560eb499f8bc92c80a737752cb30 <5bbd7f283312d0209a0fedcc9d2d33b5afa5a7b1, >=cc009e613de6560eb499f8bc92c80a737752cb30 <6aae545c87087e4dc96e205452243813bfa73ba2, >=cc009e613de6560eb499f8bc92c80a737752cb30 <750cd793ee69c27faf17fb9c49f92f71716bbc8b, >=cc009e613de6560eb499f8bc92c80a737752cb30 <94e25cb6ab7f4f025bcdcd8ea79fda30f12843a4, >=cc009e613de6560eb499f8bc92c80a737752cb30 <bbf5ad5268f36d7ebb7e99ae78fc73cffe98d372, =5.19 | e230c546ed93741833ab5babb0b202f9c2052b45, 5bbd7f283312d0209a0fedcc9d2d33b5afa5a7b1, 6aae545c87087e4dc96e205452243813bfa73ba2, 750cd793ee69c27faf17fb9c49f92f71716bbc8b, 94e25cb6ab7f4f025bcdcd8ea79fda30f12843a4, bbf5ad5268f36d7ebb7e99ae78fc73cffe98d372 |
| linux-kernel: Kernel | >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=5.19.0 <6.1.191 | 6.18.51, 7.2.5, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket