Bug 2405754 (CVE-2022-50562) - CVE-2022-50562 kernel: tpm: acpi: Call acpi_put_table() to fix memory leak
Summary: CVE-2022-50562 kernel: tpm: acpi: Call acpi_put_table() to fix memory leak
Keywords:
Status: NEW
Alias: CVE-2022-50562
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-22 14:04 UTC by OSIDB Bzimport
Modified: 2025-10-29 10:16 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-22 14:04:40 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.