RE: [PATCH v3] drm/i915: Fix a VMA UAF for multi-gt platform

2023-06-07 Thread Venkatesh Reddy, Sushma
; Tvrtko Ursulin ; Thomas Hellström ; Wilson, Chris P ; Andi Shyti ; Hajda, Andrzej ; Venkatesh Reddy, Sushma Subject: [PATCH v3] drm/i915: Fix a VMA UAF for multi-gt platform Ensure correct handling of closed VMAs on multi-gt platforms to prevent Use-After-Free. Currently, when GT0 goes idle

[PATCH v3] drm/i915: Fix a VMA UAF for multi-gt platform

2023-06-07 Thread Nirmoy Das
Ensure correct handling of closed VMAs on multi-gt platforms to prevent Use-After-Free. Currently, when GT0 goes idle, closed VMAs that are exclusively added to GT0's closed_vma link (gt->closed_vma) and subsequently freed by i915_vma_parked(), which assumes the entire GPU is idle. However, on plat