Bug 2502452 (CVE-2026-63881)

Summary: CVE-2026-63881 kernel: drm/amdkfd: fix a vulnerability of integer overflow in kfd debugger
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's AMD KFD (Kernel Fusion Driver) debugger component. The `get_queue_ids()` function, responsible for handling queue identifiers, contains an integer overflow vulnerability. This occurs when calculating the size of an array, where a malicious local user could provide a large number of queues, causing the size calculation to wrap around on 32-bit systems. This could lead to a heap buffer overflow, potentially resulting in a denial of service or, in certain scenarios, privilege escalation.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-07-19 16:08:57 UTC
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)

Comment 1 Mauro Matteo Cascella 2026-07-21 13:57:32 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026071939-CVE-2026-63881-5a86@gregkh/T