Linux Kernel Reference Count Leak Vulnerability in AMD GPU Driver

Vulnerability

A reference count leak vulnerability has been identified in the AMD GPU driver of the Linux kernel. The issue arises in the 'amdgpu_cs_fence_to_handle_ioctl()' function, specifically when 'info->in.what' defaults to an error case. In this scenario, the function returns -EINVAL without decrementing the reference count of a 'dma_fence' object, which had been incremented earlier. This oversight can lead to a reference count leak. The vulnerability has been addressed by ensuring the reference count is properly decremented before returning the error code.

Impact

Exploitation of this vulnerability can lead to a reference count leak, potentially causing memory management issues.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.