drm/amdgpu: Release VFCT ACPI table reference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · < 65bff26617607c1331283232016c0e89088c5b78| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Release VFCT ACPI table reference
amdgpu_acpi_vfct_bios() fetches the VFCT table with acpi_get_table() but never releases it. acpi_get_table() takes a reference on the table (incrementing its validation_count and mapping it on the 0->1 transition); without a paired acpi_put_table() the mapping is leaked on every call, whether or not a matching VBIOS image is found.
Route all exit paths after the table is acquired through a common acpi_put_table(). The VBIOS image is copied out with kmemdup() before the table is released, so it remains valid for the caller.
(cherry picked from commit ca5988682b4cba4cd125a0fa99b2de1239164ae4)
From the CVE record · Linux
The amdgpu driver does not release a reference to the VFCT ACPI table, leaking a mapping on every call to amdgpu_acpi_vfct_bios(). The input does not describe an attacker, an exploitation path, access requirements, or user interaction.
Engineers running Linux kernels with the amdgpu driver should check their kernel vendor's advisory; affected versions are not specified.