CVE-2021-47009: KEYS: trusted: Fix memory leak on object td
Vulnerability summary
CVE-2021-47009 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.9% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 28-02-2024PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix memory leak on object td Two error return paths are neglecting to free allocated object td, causing a memory leak. Fix this by returning via the error return path that securely kfree's td. Fixes clang scan-build warning: security/keys/trusted-keys/trusted_tpm1.c:496:10: warning: Potential memory leak [unix.Malloc]
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu62 products
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
- linux-aws-5.19All versions (No fix recorded)
Linux2 products
- linux≥ 9d83cc1a1e7f494aedee2aa108e801d11525fccf, < 31c9a4b24d86cbb36ff0d7a085725a3b4f0138c8 | ≥ 8cfc8d62942105e5df4a20a15b24da077a6b24ef, < 1c4031014106aff48e1e686e40101c31eab5d44c | ≥ 5df16caada3fba3b21cb09b85cdedf99507f4ec1, < 3e24fbd37e72e8a67b74991970fecc82d14f57af | ≥ 5df16caada3fba3b21cb09b85cdedf99507f4ec1, < 83a775d5f9bfda95b1c295f95a3a041a40c7f321 | ≥ 5.10.20, < 5.10.38 | ≥ 5.11.3, < 5.11.22 | 5.12
- linux_kernel≥ 5.10.20, < 5.10.38 | ≥ 5.11.3, < 5.11.22 | ≥ 5.12, < 5.12.5 | 5.12:rc1
Debian1 product
- linux< 5.10.38-1
3 vendors · 65 products