CVE-2026-99984
publisheddrm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7bd5d763b8e125bec578ab66ce5d90a4c83e1bff to < b01c68b7f1ec75af84d9d62ea61cf1202cd8952e · 7bd5d763b8e125bec578ab66ce5d90a4c83e1bff to < 0fe236afa2b9b28540fa1f8c789ef5d499c5d0ee · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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 SDMA1_HWIP register aperture. On gc_12_1_0 that aperture does not exist. Rewrite get_sdma_rlc_reg_offset() to mirror sdma_v7_1_get_reg_offset(): base the offset on adev->reg_offset[GC_HWIP][xcc_id][0] and add the per-instance SDMA1 offset for the odd instance. (cherry picked from commit 94b2c5b06d37adc0e9a23138252758657b64b58a)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7bd5d763b8e125bec578ab66ce5d90a4c83e1bff to < b01c68b7f1ec75af84d9d62ea61cf1202cd8952e (affected · git)7bd5d763b8e125bec578ab66ce5d90a4c83e1bff to < 0fe236afa2b9b28540fa1f8c789ef5d499c5d0ee (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.0 (affected)0 to < 7.0 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/amdkfd: fix NULL deref in SDMA HQD debugfs dump on GC 12.1
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 064a3ec8d1de6f3d440905579887dfb4db7ddce1da98c02762cb69f53a97a09a
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record