A vulnerability in the Linux kernel's AMDGPU driver involves improper handling of the eviction fence for buffer objects (BO). The eviction fence is detached prematurely when closing one handle to a BO, even if other handles remain open, potentially allowing the BO to be evicted while still in use. This issue was observed on Navi31 with an SDMA user queue. The fix ensures the eviction fence remains until the last handle to the BO is closed, preventing premature eviction.