CVE-2024-36967
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 8 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.13, < 5.15.160 | 5.15.160 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.92 | 6.1.92 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.32 | 6.6.32 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.8.11 | 6.8.11 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.9, < 6.9.2 | 6.9.2 |
References
- https://git.kernel.org/stable/c/189c768932d435045b1fae12bf63e53866f06a28 · Patch
- https://git.kernel.org/stable/c/1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf · Patch
- https://git.kernel.org/stable/c/5d91238b590bd883c86ba7707c5c9096469c08b7 · Patch
- https://git.kernel.org/stable/c/cf26a92f560eed5d6ddc3d441cc645950cbabc56 · Patch
- https://git.kernel.org/stable/c/e62835264d0352be6086975f18fdfed2b5520b13 · Patch
- https://git.kernel.org/stable/c/ffcaa2172cc1a85ddb8b783de96d38ca8855e248 · Patch
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 8 Jun 2024)