CVE-2024-36967

In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix memory leak in tpm2_key_encode() 'scratch' is never freed. Fix this by calling kfree() in the success, and in the error case.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

21 Nov 2024, 09:22

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/189c768932d435045b1fae12bf63e53866f06a28 - Patch () https://git.kernel.org/stable/c/189c768932d435045b1fae12bf63e53866f06a28 - Patch
References () https://git.kernel.org/stable/c/1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf - Patch () https://git.kernel.org/stable/c/1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf - Patch
References () https://git.kernel.org/stable/c/5d91238b590bd883c86ba7707c5c9096469c08b7 - Patch () https://git.kernel.org/stable/c/5d91238b590bd883c86ba7707c5c9096469c08b7 - Patch
References () https://git.kernel.org/stable/c/cf26a92f560eed5d6ddc3d441cc645950cbabc56 - Patch () https://git.kernel.org/stable/c/cf26a92f560eed5d6ddc3d441cc645950cbabc56 - Patch
References () https://git.kernel.org/stable/c/e62835264d0352be6086975f18fdfed2b5520b13 - Patch () https://git.kernel.org/stable/c/e62835264d0352be6086975f18fdfed2b5520b13 - Patch
References () https://git.kernel.org/stable/c/ffcaa2172cc1a85ddb8b783de96d38ca8855e248 - Patch () https://git.kernel.org/stable/c/ffcaa2172cc1a85ddb8b783de96d38ca8855e248 - Patch

17 Jul 2024, 17:03

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
CWE CWE-401
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: KEYS: confiable: corrige la pérdida de memoria en tpm2_key_encode() 'scratch' nunca se libera. Solucione este problema llamando a kfree() en caso de éxito y de error.
References () https://git.kernel.org/stable/c/189c768932d435045b1fae12bf63e53866f06a28 - () https://git.kernel.org/stable/c/189c768932d435045b1fae12bf63e53866f06a28 - Patch
References () https://git.kernel.org/stable/c/1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf - () https://git.kernel.org/stable/c/1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf - Patch
References () https://git.kernel.org/stable/c/5d91238b590bd883c86ba7707c5c9096469c08b7 - () https://git.kernel.org/stable/c/5d91238b590bd883c86ba7707c5c9096469c08b7 - Patch
References () https://git.kernel.org/stable/c/cf26a92f560eed5d6ddc3d441cc645950cbabc56 - () https://git.kernel.org/stable/c/cf26a92f560eed5d6ddc3d441cc645950cbabc56 - Patch
References () https://git.kernel.org/stable/c/e62835264d0352be6086975f18fdfed2b5520b13 - () https://git.kernel.org/stable/c/e62835264d0352be6086975f18fdfed2b5520b13 - Patch
References () https://git.kernel.org/stable/c/ffcaa2172cc1a85ddb8b783de96d38ca8855e248 - () https://git.kernel.org/stable/c/ffcaa2172cc1a85ddb8b783de96d38ca8855e248 - Patch

08 Jun 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-08 13:15

Updated : 2024-11-21 09:22


NVD link : CVE-2024-36967

Mitre link : CVE-2024-36967

CVE.ORG link : CVE-2024-36967


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime