CVE-2022-50562

tpm: acpi: Call acpi_put_table() to fix memory leak

State
Published
Severity
Not scored
Published
Oct 22, 2025
Updated
May 11, 2026
Reserved
Oct 22, 2025

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0bfb23746052168620c5b52f49d8a47c3bb022fa to before 8ddc48068ac85740d3d5f9f3b0b323e733a35b33Affected
  • 0bfb23746052168620c5b52f49d8a47c3bb022fa to before 638cd298dfebce46919cbd6cf1884701215f506dAffected
  • 0bfb23746052168620c5b52f49d8a47c3bb022fa to before 694a3d66f493afd77c704c6de91d9be4d6e004e4Affected
  • 0bfb23746052168620c5b52f49d8a47c3bb022fa to before bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8Affected
  • 0bfb23746052168620c5b52f49d8a47c3bb022fa to before 8740a12ca2e2959531ad253bac99ada338b33d80Affected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.87 through 5.15.*Not affected
  • 6.0.17 through 6.0.*Not affected
  • 6.1.3 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.