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

CVE-2022-50562
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 0bfb23746052168620c5b52f49d8a47c3bb022fa < 8ddc48068ac85740d3d5f9f3b0b323e733a35b33 ; affected 0bfb23746052168620c5b52f49d8a47c3bb022fa < 638cd298dfebce46919cbd6cf1884701215f506d ; affected 0bfb23746052168620c5b52f49d8a47c3bb022fa < 694a3d66f493afd77c704c6de91d9be4d6e004e4 ; affected 0bfb23746052168620c5b52f49d8a47c3bb022fa < bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8 ; affected 0bfb23746052168620c5b52f49d8a47c3bb022fa < 8740a12ca2e2959531ad253bac99ada338b33d80
Linux · Linuxaffected 4.18 ; unaffected 0 < 4.18 ; unaffected 5.10.163 ≤ 5.10.* ; unaffected 5.15.87 ≤ 5.15.* ; unaffected 6.0.17 ≤ 6.0.* ; unaffected 6.1.3 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD