{"id":"CVE-2022-50562","summary":"tpm: acpi: Call acpi_put_table() to fix memory leak","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: acpi: Call acpi_put_table() to fix memory leak\n\nThe start and length of the event log area are obtained from\nTPM2 or TCPA table, so we call acpi_get_table() to get the\nACPI information, but the acpi_get_table() should be coupled with\nacpi_put_table() to release the ACPI memory, add the acpi_put_table()\nproperly to fix the memory leak.\n\nWhile we are at it, remove the redundant empty line at the\nend of the tpm_read_log_acpi().","modified":"2026-03-20T11:47:31.499962Z","published":"2025-10-22T13:23:21.421Z","related":["SUSE-SU-2025:4111-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4320-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50562.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/638cd298dfebce46919cbd6cf1884701215f506d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/694a3d66f493afd77c704c6de91d9be4d6e004e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8740a12ca2e2959531ad253bac99ada338b33d80"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ddc48068ac85740d3d5f9f3b0b323e733a35b33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50562.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50562"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0bfb23746052168620c5b52f49d8a47c3bb022fa"},{"fixed":"8ddc48068ac85740d3d5f9f3b0b323e733a35b33"},{"fixed":"638cd298dfebce46919cbd6cf1884701215f506d"},{"fixed":"694a3d66f493afd77c704c6de91d9be4d6e004e4"},{"fixed":"bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8"},{"fixed":"8740a12ca2e2959531ad253bac99ada338b33d80"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50562.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.18.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.87"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50562.json"}}],"schema_version":"1.7.5"}