tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 30fc8d138e9123f374a3c3867e7c7c5cd4004941 · < 2fcd3dc8b97a14f1672729c86b7041a1a89b052a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's tpm_crb component fails to release a TPM2 ACPI table during initialization, causing a memory leak. The input does not describe an attacker action or specify network access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the tpm_crb component should check their deployments; affected versions are not specified.