A NULL pointer dereference vulnerability in the Linux kernel's AMD GPU driver (amdkfd) affects the SDMA HQD debugfs dump on GC 12.1 hardware. This occurs when reading the KFD HQD debugfs node, causing a kernel oops due to incorrect assumptions about hardware register layout. The issue has been fixed by rewriting the register offset calculation to correctly handle the GC 12.1 hardware layout.