CVE-2026-142821: drm/amdkfd: validate SRAT subtables before parsing
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: validate SRAT subtables before parsing
The KFD SRAT walker reads the first subtable length without checking that a header is present and trusts subsequent lengths when accessing CPU and generic affinity records. Invalid firmware lengths can therefore cause out-of-bounds reads.
Validate the table header, every generic subtable range, and each supported typed record before reading its fields.
(cherry picked from commit d76b655c98e8cc9e791b31502ad274f47dee2aae)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch d76b655c98e8cc9e791b31502ad274f47dee2aae
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue is in the Linux kernel's AMD KFD SRAT parsing path. Exposure depends on that path processing firmware SRAT data with invalid subtable lengths.
What is the impact of malformed SRAT data?
Invalid firmware lengths can cause out-of-bounds reads while the KFD SRAT walker accesses CPU and generic affinity records.
How should this be remediated?
Update to a Linux kernel release that includes the SRAT subtable validation fix. The provided stable-kernel references identify backports of the fix, but no affected or fixed version numbers are supplied.