drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · < 855ae72c20310e5402b2317fc537d911e87537ef| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc
Initialize the size before calling amdgpu_vce_cs_reloc, such as case 0x03000001. V2: To really improve the handling we would actually need to have a separate value of 0xffffffff.(Christian)
From the CVE record · Linux
The Linux kernel’s amdgpu driver can pass an uninitialized size value to amdgpu_vce_cs_reloc, including in the 0x03000001 case. The input does not specify what an attacker could achieve or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the amdgpu driver should check their kernel versions; affected versions are not specified.