tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak (Linux Linux)

CVE-2022-50389
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak In crb_acpi_add(), we get the TPM2 table to retrieve information like start method, and then assign them to the priv data, so the TPM2 table is not used after the init, should be freed, call acpi_put_table() to fix the memory leak.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 30fc8d138e9123f374a3c3867e7c7c5cd4004941 < 08fd965521d0e172d540cf945517810895fcb199 ; affected 30fc8d138e9123f374a3c3867e7c7c5cd4004941 < 1af2232b13837ce0f3a082b9f43735b09aafc367 ; affected 30fc8d138e9123f374a3c3867e7c7c5cd4004941 < 927860dfa161ae8392a264197257dbdc52b26b0f ; affected 30fc8d138e9123f374a3c3867e7c7c5cd4004941 < 0bd9b4be721c776f77adcaf34105dfca3007ddb9 ; affected 30fc8d138e9123f374a3c3867e7c7c5cd4004941 < 986cd9a9b95423e35a2cbb8e9105aec0e0d7f337 ; affected 30fc8d138e9123f374a3c3867e7c7c5cd4004941 < 2fcd3dc8b97a14f1672729c86b7041a1a89b052a
Linux · Linuxaffected 4.0 ; unaffected 0 < 4.0 ; unaffected 4.14.303 ≤ 4.14.* ; unaffected 4.19.270 ≤ 4.19.* ; unaffected 5.4.229 ≤ 5.4.* ; unaffected 5.10.163 ≤ 5.10.*

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