Re: [PATCH v5 1/4] dma-fence: Add safe access helpers and document the rules

2025-06-10 Thread Christian König
On 6/9/25 13:03, Tvrtko Ursulin wrote: > Dma-fence objects currently suffer from a potential use after free problem > where fences exported to userspace and other drivers can outlive the > exporting driver, or the associated data structures. > > The discussion on how to address this concluded t

[PATCH v5 1/4] dma-fence: Add safe access helpers and document the rules

2025-06-09 Thread Tvrtko Ursulin
Dma-fence objects currently suffer from a potential use after free problem where fences exported to userspace and other drivers can outlive the exporting driver, or the associated data structures. The discussion on how to address this concluded that adding reference counting to all the involved ob