{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-71147","id":"CVE-2025-71147","title":"KEYS: trusted: Fix a memory leak in tpm2_load_cmd","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix a memory leak in tpm2_load_cmd\n\n'tpm2_load_cmd' allocates a tempoary blob indirectly via 'tpm2_key_decode'\nbut it is not freed in the failure paths. Address this by wrapping the blob\ninto with a cleanup helper.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix a memory leak in tpm2_load_cmd\n\n'tpm2_load_cmd' allocates a tempoary blob indirectly via 'tpm2_key_decode'\nbut it is not freed in the failure paths. Address this by wrapping the blob\ninto with a cleanup helper.","published":"2026-01-23T14:15:13.945Z","updated":"2026-10-28T02:30:38.149319267Z","reserved":"2026-01-13T15:30:19.662Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f2219745250f388edacabe6cca73654131c67d0a","lessThan":"3fd7df4636d8fd5e3592371967a5941204368936","status":"affected","versionType":"git"},{"version":"f2219745250f388edacabe6cca73654131c67d0a","lessThan":"af0689cafb127a8d1af78cc8b72585c9b2a19ecd","status":"affected","versionType":"git"},{"version":"f2219745250f388edacabe6cca73654131c67d0a","lessThan":"19166de9737218b77122c41a5730ac87025e089f","status":"affected","versionType":"git"},{"version":"f2219745250f388edacabe6cca73654131c67d0a","lessThan":"9b015f2918b95bdde2ca9cefa10ef02b138aae1e","status":"affected","versionType":"git"},{"version":"f2219745250f388edacabe6cca73654131c67d0a","lessThan":"9e7c63c69f57b1db1a8a1542359a6167ff8fcef1","status":"affected","versionType":"git"},{"version":"f2219745250f388edacabe6cca73654131c67d0a","lessThan":"62cd5d480b9762ce70d720a81fa5b373052ae05f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.15.198","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.160","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.64","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.3","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3fd7df4636d8fd5e3592371967a5941204368936","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/af0689cafb127a8d1af78cc8b72585c9b2a19ecd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/19166de9737218b77122c41a5730ac87025e089f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9b015f2918b95bdde2ca9cefa10ef02b138aae1e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9e7c63c69f57b1db1a8a1542359a6167ff8fcef1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/62cd5d480b9762ce70d720a81fa5b373052ae05f","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71147.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71147","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00142,"epssPercentile":0.03594,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-71147","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71147","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-71147","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-71147","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}