drm/amdgpu: Fix size validation for non-exclusive domains (v4)
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.0.196.1.56.2In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix size validation for non-exclusive domains (v4)
Fix amdgpu_bo_validate_size() to check whether the TTM domain manager for the requested memory exists, else we get a kernel oops when dereferencing "man".
v2: Make the patch standalone, i.e. not dependent on local patches. v3: Preserve old behaviour and just check that the manager pointer is not NULL. v4: Complain if GTT domain requested and it is uninitialized--most likely a bug.
From the CVE record · Linux
The Linux kernel's amdgpu size validation can dereference a missing memory-domain manager, causing a kernel oops. The input does not establish whether an attacker can trigger this, or what access or user interaction would be required.
Engineers running Linux kernels with amdgpu should check their affected versions; no version range is provided.