Linux Kernel NULL Pointer Dereference Vulnerability in AMD GPU Driver

Vulnerability

A NULL pointer dereference vulnerability has been identified in the Linux kernel's AMD GPU driver, specifically within the amdkfd component. This issue arises in several stable kernel versions and is related to improper error handling in the 'kfd_process_device_init_vm' function. The vulnerability can be exploited when the 'kfd_process_device_destroy_cwsr_dgpu' or 'kfd_process_device_destroy_ib_mem' functions are called, leading to a kernel crash.

Impact

Exploitation of this vulnerability causes a kernel crash due to a NULL pointer dereference, disrupting system operations and potentially leading to a denial of service.

Reproduction

The vulnerability can be reproduced by creating a process that initializes a virtual memory space using the 'kfd_process_device_init_vm' function. If this process is then terminated or cleaned up improperly, the 'kfd_process_device_destroy_cwsr_dgpu' or 'kfd_process_device_destroy_ib_mem' functions can be invoked, causing a NULL pointer dereference in the kernel.

Remediation

Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed. Instructions for downloading the latest kernel version can be found on the official Linux kernel website.

Added: Sep 17, 2025, 4:54 PM
Updated: Sep 17, 2025, 4:54 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
0.5
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.