Description
In the Linux kernel, the following vulnerability has been resolved: tpm: acpi: Call acpi_put_table() to fix memory leak The start and length of the event log area are obtained from TPM2 or TCPA table, so we call acpi_get_table() to get the ACPI information, but the acpi_get_table() should be coupled with acpi_put_table() to release the ACPI memory, add the acpi_put_table() properly to fix the memory leak. While we are at it, remove the redundant empty line at the end of the tpm_read_log_acpi().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0bfb23746052168620c5b52f49d8a47c3bb022fa to < 8ddc48068ac85740d3d5f9f3b0b323e733a35b33affected0bfb23746052168620c5b52f49d8a47c3bb022fa to < 638cd298dfebce46919cbd6cf1884701215f506daffected0bfb23746052168620c5b52f49d8a47c3bb022fa to < 694a3d66f493afd77c704c6de91d9be4d6e004e4affected0bfb23746052168620c5b52f49d8a47c3bb022fa to < bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8affected0bfb23746052168620c5b52f49d8a47c3bb022fa to < 8740a12ca2e2959531ad253bac99ada338b33d80affected
Linux Linux
Default version status: affected
4.18affected0 to < 4.18unaffected5.10.163 to ≤ 5.10.*unaffected5.15.87 to ≤ 5.15.*unaffected6.0.17 to ≤ 6.0.*unaffected6.1.3 to ≤ 6.1.*unaffected6.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/8ddc48068ac85740d3d5f9f3b0b323e733a35b33 ↗
- https://git.kernel.org/stable/c/638cd298dfebce46919cbd6cf1884701215f506d ↗
- https://git.kernel.org/stable/c/694a3d66f493afd77c704c6de91d9be4d6e004e4 ↗
- https://git.kernel.org/stable/c/bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8 ↗
- https://git.kernel.org/stable/c/8740a12ca2e2959531ad253bac99ada338b33d80 ↗