# CVE-2022-50562: tpm: acpi: Call acpi_put_table() to fix memory leak

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-10-22T13:23:21.421Z
- Modified: 2026-06-17T05:23:47.810Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 0bfb23746052168620c5b52f49d8a47c3bb022fa before 8ddc48068ac85740d3d5f9f3b0b323e733a35b33; from 0bfb23746052168620c5b52f49d8a47c3bb022fa before 638cd298dfebce46919cbd6cf1884701215f506d; from 0bfb23746052168620c5b52f49d8a47c3bb022fa before 694a3d66f493afd77c704c6de91d9be4d6e004e4; from 0bfb23746052168620c5b52f49d8a47c3bb022fa before bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8; from 0bfb23746052168620c5b52f49d8a47c3bb022fa before 8740a12ca2e2959531ad253bac99ada338b33d80; 4.18 (not affected: before 4.18; from 5.10.163 up to 5.10.*; from 5.15.87 up to 5.15.*; from 6.0.17 up to 6.0.*; from 6.1.3 up to 6.1.*; from 6.2 up to *)

## 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>

## Sources

- CVE List: [CVE-2022-50562](https://www.cve.org/CVERecord?id=CVE-2022-50562), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50562](https://nvd.nist.gov/vuln/detail/CVE-2022-50562), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50562 · Whole record: https://cve.day/CVE-2022-50562.json · Rebuilt by cve.day 2026-11-25T22:58:21.274Z
