In the Linux kernel, the following vulnerability has been resolved:
tpm: acpi: Call acpiputtable() to fix memory leak
The start and length of the event log area are obtained from TPM2 or TCPA table, so we call acpigettable() to get the ACPI information, but the acpigettable() should be coupled with acpiputtable() to release the ACPI memory, add the acpiputtable() properly to fix the memory leak.
While we are at it, remove the redundant empty line at the end of the tpmreadlog_acpi().