drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
The type of size is unsigned int, if size is 0x40000000, there will be an integer overflow, size will be zero after size *= sizeof(uint32_t), will cause uninitialized memory to be referenced later.
From the CVE record · Linux
An integer overflow in the Linux kernel's amdgpu_cs_pass1 can cause uninitialized memory to be referenced when size is 0x40000000. The input does not specify how an attacker could trigger this, whether authentication or user interaction is needed, or whether access is local or over a network.
Engineers running Linux kernels with the affected amdgpu code should check their versions against the vendor advisory; affected versions are not specified.