Vulnerability record
drm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1
Reading the KFD HQD debugfs node (dqm_debugfs_hqds) on a gc_12_1_0 part oopses with a NULL pointer dereference:
BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: hqd_sdma_dump_v12_1+0x6a [amdgpu] Call Trace: dqm_debugfs_hqds+0x2da/0x360 [amdgpu] kfd_debugfs_hqds_by_device+0x74/0xa0 [amdgpu] seq_read ... __x64_sys_read
get_sdma_rlc_reg_offset() assumes an interleaved layout where the second SDMA per XCC lives in a separate…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources