Description (CNA)
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)
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 1748043b5114ce5ee5ee874d5f821a158d70631c; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 50a75929c0c5e8ab29a3ac49dc92489873d9d261; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 312278b3091912fa56a6a587609f17dcb33465c2; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 9b7de3ee5d2c5ee2a706e5f7ca0126f4fbea4da8; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 65bff26617607c1331283232016c0e89088c5b78 |
| Linux / Linux | affected 4.2; unaffected 0 before 4.2; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/1748043b5114ce5ee5ee874d5f821a158d70631c
- https://git.kernel.org/stable/c/50a75929c0c5e8ab29a3ac49dc92489873d9d261
- https://git.kernel.org/stable/c/312278b3091912fa56a6a587609f17dcb33465c2
- https://git.kernel.org/stable/c/9b7de3ee5d2c5ee2a706e5f7ca0126f4fbea4da8
- https://git.kernel.org/stable/c/65bff26617607c1331283232016c0e89088c5b78