Linux Kernel Use-After-Free Vulnerability in AMD GPU Driver

Vulnerability

A use-after-free vulnerability has been identified in the AMD GPU driver of the Linux kernel. This issue arises when the function 'amdgpu_cs_vm_handling' returns a non-zero value, causing the 'bo_list_mutex' to be unlocked. The mutex is then improperly accessed again in 'amdgpu_cs_parser_fini', leading to a use-after-free condition. This vulnerability has been observed in Linux kernel version 5.20.0-0.rc0.20220812git7ebfc85e2cd7.10.fc38.x86_64.

Impact

Exploitation of this vulnerability causes a use-after-free condition, which can lead to memory corruption and potentially allow for arbitrary code execution.

Reproduction

The vulnerability can be reproduced by invoking the 'amdgpu_cs_vm_handling' function in a scenario where it returns a non-zero value. This will cause the 'bo_list_mutex' to be unlocked prematurely. The issue can be observed while running Google Chrome, as indicated by the process name 'chrome:cs0' in the kernel warning logs.

Added: Jun 18, 2025, 7:29 PM
Updated: Jun 18, 2025, 7:29 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
0.0
relevance
0.2
threat
4.8
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.