drm/amdgpu: validate user queue size constraints
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.166.19.67.0In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: validate user queue size constraints
Add validation to ensure user queue sizes meet hardware requirements: - Size must be a power of two for efficient ring buffer wrapping - Size must be at least AMDGPU_GPU_PAGE_SIZE to prevent undersized allocations
This prevents invalid configurations that could lead to GPU faults or unexpected behavior.
From the CVE record · Linux
The Linux kernel's amdgpu driver did not validate that user queue sizes are powers of two and at least AMDGPU_GPU_PAGE_SIZE. Someone able to configure a user queue could supply an invalid size, potentially causing GPU faults or unexpected behavior; the input does not specify access or authentication requirements.
Engineers running Linux kernels with the amdgpu driver should check their versions; affected versions are not specified.