{"id":"CVE-2026-99984","aliases":["CVE-2026-99984"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1\n\nReading the KFD HQD debugfs node (dqm_debugfs_hqds) on a gc_12_1_0 part\noopses with a NULL pointer dereference:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: hqd_sdma_dump_v12_1+0x6a [amdgpu]\n  Call Trace:\n   dqm_debugfs_hqds+0x2da/0x360 [amdgpu]\n   kfd_debugfs_hqds_by_device+0x74/0xa0 [amdgpu]\n   seq_read ... __x64_sys_read\n\nget_sdma_rlc_reg_offset() assumes an interleaved layout where the second\nSDMA per XCC lives in a separate SDMA1_HWIP register aperture. On\ngc_12_1_0 that aperture does not exist.\n\nRewrite get_sdma_rlc_reg_offset() to mirror sdma_v7_1_get_reg_offset():\nbase the offset on adev->reg_offset[GC_HWIP][xcc_id][0] and add the\nper-instance SDMA1 offset for the odd instance.\n\n(cherry picked from commit 94b2c5b06d37adc0e9a23138252758657b64b58a)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1\n\nReading the KFD HQD debugfs node (dqm_debugfs_hqds) on a gc_12_1_0 part\noopses with a NULL pointer dereference:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: hqd_sdma_dump_v12_1+0x6a [amdgpu]\n  Call Trace:\n   dqm_debugfs_hqds+0x2da/0x360 [amdgpu]\n   kfd_debugfs_hqds_by_device+0x74/0xa0 [amdgpu]\n   seq_read ... __x64_sys_read\n\nget_sdma_rlc_reg_offset() assumes an interleaved layout where the second\nSDMA per XCC lives in a separate SDMA1_HWIP register aperture. On\ngc_12_1_0 that aperture does not exist.\n\nRewrite get_sdma_rlc_reg_offset() to mirror sdma_v7_1_get_reg_offset():\nbase the offset on adev->reg_offset[GC_HWIP][xcc_id][0] and add the\nper-instance SDMA1 offset for the odd instance.\n\n(cherry picked from commit 94b2c5b06d37adc0e9a23138252758657b64b58a)","source":"cvelist"}],"published":"2026-11-30T13:18:52.912Z","modified":"2026-11-30T14:20:41.463Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7bd5d763b8e125bec578ab66ce5d90a4c83e1bff","fixed":"b01c68b7f1ec75af84d9d62ea61cf1202cd8952e","status":"affected"},{"type":"git","introduced":"7bd5d763b8e125bec578ab66ce5d90a4c83e1bff","fixed":"0fe236afa2b9b28540fa1f8c789ef5d499c5d0ee","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b01c68b7f1ec75af84d9d62ea61cf1202cd8952e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fe236afa2b9b28540fa1f8c789ef5d499c5d0ee","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99984","url":"https://www.cve.org/CVERecord?id=CVE-2026-99984","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:52.912Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99984","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99984","licence":"Public domain","modified":"2026-11-30T14:20:41.463Z"}],"updatedAt":"2026-11-30T14:33:50.155Z","epss":{"score":0.00286,"percentile":0.22769,"date":"2026-12-01T12:00:22.000Z"}}