{"id":"CVE-2021-47009","published":"2024-02-28T08:13:28Z","modified":"2026-05-23T15:19:01Z","title":"KEYS: trusted: Fix memory leak on object td","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix memory leak on object td\n\nTwo error return paths are neglecting to free allocated object td,\ncausing a memory leak. Fix this by returning via the error return\npath that securely kfree's td.\n\nFixes clang scan-build warning:\nsecurity/keys/trusted-keys/trusted_tpm1.c:496:10: warning: Potential\nmemory leak [unix.Malloc]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00246,"percentile":0.09573,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/31c9a4b24d86cbb36ff0d7a085725a3b4f0138c8","tags":[]},{"url":"https://git.kernel.org/stable/c/1c4031014106aff48e1e686e40101c31eab5d44c","tags":[]},{"url":"https://git.kernel.org/stable/c/3e24fbd37e72e8a67b74991970fecc82d14f57af","tags":[]},{"url":"https://git.kernel.org/stable/c/83a775d5f9bfda95b1c295f95a3a041a40c7f321","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.91}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9d83cc1a1e7f494aedee2aa108e801d11525fccf, < 31c9a4b24d86cbb36ff0d7a085725a3b4f0138c8",">= 8cfc8d62942105e5df4a20a15b24da077a6b24ef, < 1c4031014106aff48e1e686e40101c31eab5d44c",">= 5df16caada3fba3b21cb09b85cdedf99507f4ec1, < 3e24fbd37e72e8a67b74991970fecc82d14f57af",">= 5df16caada3fba3b21cb09b85cdedf99507f4ec1, < 83a775d5f9bfda95b1c295f95a3a041a40c7f321",">= 5.10.20, < 5.10.38",">= 5.11.3, < 5.11.22"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-21T16:28:43.194952Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33657","exploited":false,"provenance":"source"}}