Description
In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: fix a vulnerability of integer overflow in kfd debugger

get_queue_ids() computes array_size = num_queues * sizeof(uint32_t),
which could overflow on 32-bit size_t build. using array_size()
instead, it saturates to SIZE_MAX on overflow.

(cherry picked from commit 2d57a0475f085c08b49312dfd8edcb461845f285)
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an integer overflow in the get_queue_ids() function of the drm/amdkfd module. The function calculates an array size by multiplying num_queues by the size of a 32‑bit integer, which on 32‑bit builds can exceed the maximum value representable by the 32‑bit size_t type. If the multiplication wraps, the code will allocate a smaller array than intended. This overflow could lead to a kernel buffer overrun, potentially corrupting memory and causing instability or erratic behavior. The fix saturates the calculated size to SIZE_MAX on overflow.

Affected Systems

All Linux kernel builds containing the drm/amdkfd kfd debugger as distributed before the patch commit. The vulnerability exists in any kernel that shipped with the original get_queue_ids implementation, regardless of architecture.

Risk and Exploitability

The CVSS base score of 7.8 reflects a high‑severity flaw. The EPSS score of less than 1% indicates a very low probability of exploitation in the wild at this time, and the flaw is not listed in the CISA KEV catalog. The attack vector likely requires local privileged or kernel interface access to the kfd debugger. Given the low exploitation likelihood, the risk is moderate, but the severity suggests that the flaw should be remediated promptly when an update is available.

Generated by OpenCVE AI on August 4, 2026 at 06:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes commit 2d57a0475f085c08b49312dfd8edcb461845f285, which corrects the overflow logic.
  • If the patched kernel cannot be applied immediately, temporarily disable the kfd debugger by unloading the amdkfd module or compiling the kernel without this module.
  • Continue to apply security updates from the distribution vendor, and monitor AMD and kernel advisories for additional fixes or related vulnerabilities.

Generated by OpenCVE AI on August 4, 2026 at 06:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix a vulnerability of integer overflow in kfd debugger get_queue_ids() computes array_size = num_queues * sizeof(uint32_t), which could overflow on 32-bit size_t build. using array_size() instead, it saturates to SIZE_MAX on overflow. (cherry picked from commit 2d57a0475f085c08b49312dfd8edcb461845f285)
Title drm/amdkfd: fix a vulnerability of integer overflow in kfd debugger
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:36:51.042Z

Reserved: 2026-07-19T07:54:57.018Z

Link: CVE-2026-63881

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63881 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T07:00:05Z

Weaknesses