Technical impact
The AMDGPU driver in the Linux kernel accidentally detaches a buffer object's eviction fence when a handle is closed, even while other handles and memory mappings remain open. This premature removal allows the buffer to be evicted from GPU memory while user queues still reference it, which can lead to crashes, data corruption, or a loss of service for GPU workloads. This improper resource management flaw (CWE-825) results in a denial of service condition.
Affected Systems
Any Linux kernel that ships with the AMDGPU driver is potentially affected. The issue was observed on an AMD Navi31 platform using an SDMA user queue: a buffer object opened twice in the same file lost its eviction fence when the second handle was closed while the first handle and mapping continued to be used.
Risk and Exploitability
The flaw requires manipulating AMDGPU buffer handles, so it is a local kernel issue that would normally be exercised by privileged code or an attacker who can load a custom kernel module or driver. Based on the description, it is inferred that an attacker would need to perform a local attack with elevated privileges to trigger this defect. The likely attack vector is local privilege escalation that allows loading of a custom driver or kernel module. The CVSS score is 7, and the EPSS score is less than 1%. The vulnerability is not listed in CISA KEV, indicating no publicly known widespread exploitation. Attackers with local privilege or the ability to run privileged code can potentially trigger the defect, making it a notable risk for affected systems.