CVE-2021-47431Published May 21, 2024 · May 21Updated Aug 11
drm/amdgpu: fix gart.bo pin_count leak
Linux
Medium5.5Fix available
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: fix gart.bo pin_count leak
gmc_v{9,10}_0_gart_disable() isn't called matched with correspoding gart_enbale function in SRIOV case. This will lead to gart.bo pin_count leak on driver unload.
From the CVE record · Linux
In the Linux kernel’s amdgpu driver, the GART disable function is not paired with the corresponding enable function in SR-IOV cases. This causes a gart.bo pin_count leak when the driver unloads. The input does not describe an attacker action, authentication requirement, or user interaction.
Engineers running Linux kernels with the amdgpu driver in SR-IOV configurations should check their kernel version; affected versions were not provided.