7.0high
drm/amdkfd: Fix buffer overflow in SDMA queue checkpoint/restore on GFX11
- Severity
- 7.0high CVSS:3.1 by redhat-SADP
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix buffer overflow in SDMA queue checkpoint/restore on GFX11 The v11 MQD manager incorrectly assigned the CP-compute variants of checkpoint_mqd/restore_mqd for KFD_MQD_TYPE_SDMA queues. These functions use sizeof(struct v11_compute_mqd) (2048 bytes) instead of sizeof(struct v11_sdma_mqd) (512 bytes), causing a 1536-byte overflow. During CRIU checkpoint of an SDMA queue on Navi3x: - checkpoint_mqd() reads 2048 bytes from a 512-byte SDMA MQD buffer, leaking 1536 bytes of adjacent GTT memory to userspace During CRIU restore: - restore_mqd() writes 2048 bytes into a 512-byte SDMA MQD buffer, corrupting 1536 bytes of adjacent GTT memory (often the ring buffer or neighboring MQDs) This is a copy-paste regression unique to v11. All other ASIC backends (cik, vi, v9, v10, v12) correctly use the SDMA-specific variants. Add checkpoint_mqd_sdma() and restore_mqd_sdma() functions that properly handle the smaller v11_sdma_mqd structure, matching the pattern used in other MQD managers. (cherry picked from commit 6fa41db7ffdec97d62433adf03b7b9b759af8c2c)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cc009e613de6560eb499f8bc92c80a737752cb30 before 16dad1fb0d783a4008de30e32d0038c393de05b1, from cc009e613de6560eb499f8bc92c80a737752cb30 before 2c5b66c9b4057b385566940935ebc32f6e6ebfd2, from cc009e613de6560eb499f8bc92c80a737752cb30 before d3efcadfe3eea5b4263b8f2d4463b15c9fc46a64, from cc009e613de6560eb499f8bc92c80a737752cb30 before d02f05d30f35b036f7cbaf72de634affb5b38ec6, from cc009e613de6560eb499f8bc92c80a737752cb30 before 352ea59028ea48a6fff77f19ae28f98f71946a80, 5.19 Not affected: before 5.19, from 6.6.143 up to 6.6.*, from 6.12.94 up to 6.12.*, from 6.18.36 up to 6.18.*, from 7.0.13 up to 7.0.*, from 7.1 up to * | CVE List |
| kernel | Not specified | CVE List |
| kernel-rt | Not specified | CVE List |
| linux linux_kernel | from 5.19 before 6.6.143, from 6.7 before 6.12.94, from 6.13 before 6.18.36, from 6.19 before 7.0.13, 7.1 | NVD |
All scores
| redhat-SADP | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53143 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-53143 changed 2026-11-06 | Public domain |