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

drm/amdkfd: fix QID bit leak in pqm_create_queue()

When MES is enabled and amdgpu_amdkfd_alloc_kernel_mem() fails during
the first queue creation for a process, pqm_create_queue() returns
early via 'return retval' without going through the err_create_queue
cleanup label.

This means clear_bit(*qid, pqm->queue_slot_bitmap) is never called,
leaving the reserved QID bit permanently set in queue_slot_bitmap.
Over time this leaks QID slots, potentially exhausting all available
queue slots.

Fix this by replacing 'return retval' with 'goto err_allocate_pqn'
so that clear_bit() is always called on the error path without
touching the uninitialized pqn pointer.

AILIKFD-813

(cherry picked from commit a107f74c38edbb80d6ab64dcaeeb292c14e9779f)
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Linux kernel’s AMD Kernel Fusion Driver (amdkfd) causes a bit leak in the queue ID bitmap when memory allocation fails during the first queue creation for a process. The bug prevents the clear_bit function from being called, leaving the QID marked as used permanently. Over time this consumes all available queue slots, resulting in a denial of service by preventing further queue allocation for the affected or other processes. The weakness is a flaw in resource management, leading to uncontrolled resource consumption.

Affected Systems

The vulnerability affects the Linux kernel, specifically the amdkfd driver implementation that manages AMD GPU queues. It applies to any Linux distribution that ships with a kernel version prior to the inclusion of the patch referenced in the commit list. No specific distribution or kernel version is enumerated in the data, so any system running an affected kernel must be considered vulnerable.

Risk and Exploitability

Based on the description, it is inferred that the issue can be exploited by a local attacker who can create queues for a process, such as an application using AMD GPU resources. The CVSS score of 5.5 indicates moderate severity; the EPSS score is < 1%, suggesting a low probability of exploitation, and the vulnerability is not listed in KEV. The impact of exhausting all queue slots is severe. Because the kernel path does not protect against the bit leak on error, the flaw is locally exploitable and can lead to service interruption for the compromised or other user processes.

Generated by OpenCVE AI on August 18, 2026 at 05:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the commit fixing the QID bitmap leak
  • Reboot the host after installing the updated kernel so the new driver code is loaded
  • Monitor queue usage and verify that devices can create queues without premature exhaustion

Generated by OpenCVE AI on August 18, 2026 at 05:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Tue, 18 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Tue, 18 Aug 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Low


Sat, 15 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix QID bit leak in pqm_create_queue() When MES is enabled and amdgpu_amdkfd_alloc_kernel_mem() fails during the first queue creation for a process, pqm_create_queue() returns early via 'return retval' without going through the err_create_queue cleanup label. This means clear_bit(*qid, pqm->queue_slot_bitmap) is never called, leaving the reserved QID bit permanently set in queue_slot_bitmap. Over time this leaks QID slots, potentially exhausting all available queue slots. Fix this by replacing 'return retval' with 'goto err_allocate_pqn' so that clear_bit() is always called on the error path without touching the uninitialized pqn pointer. AILIKFD-813 (cherry picked from commit a107f74c38edbb80d6ab64dcaeeb292c14e9779f)
Title drm/amdkfd: fix QID bit leak in pqm_create_queue()
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-18T06:56:34.583Z

Reserved: 2026-08-15T05:44:03.899Z

Link: CVE-2026-74448

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:49.390

Modified: 2026-08-18T07:16:54.720

Link: CVE-2026-74448

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74448 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T05:45:03Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count