{"id":"CVE-2025-71147","aliases":["CVE-2025-71147"],"related":[],"kind":"vulnerability","state":"published","title":"KEYS: trusted: Fix a memory leak in tpm2_load_cmd","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nKEYS: trusted: Corregir una fuga de memoria en tpm2_load_cmd\n\n'tpm2_load_cmd' asigna un blob temporal indirectamente a través de 'tpm2_key_decode' pero no se libera en las rutas de fallo. Esto se aborda envolviendo el blob con una función auxiliar de limpieza.","source":"nvd"}],"published":"2026-01-23T14:15:13.945Z","modified":"2026-10-19T19:17:15.433Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"3fd7df4636d8fd5e3592371967a5941204368936","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"af0689cafb127a8d1af78cc8b72585c9b2a19ecd","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"19166de9737218b77122c41a5730ac87025e089f","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"9b015f2918b95bdde2ca9cefa10ef02b138aae1e","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"9e7c63c69f57b1db1a8a1542359a6167ff8fcef1","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"62cd5d480b9762ce70d720a81fa5b373052ae05f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.3","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"5.15.198"},{"status":"affected","introduced":"5.16","fixed":"6.1.160"},{"status":"affected","introduced":"6.2","fixed":"6.6.120"},{"status":"affected","introduced":"6.7","fixed":"6.12.64"},{"status":"affected","introduced":"6.13","fixed":"6.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3fd7df4636d8fd5e3592371967a5941204368936","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af0689cafb127a8d1af78cc8b72585c9b2a19ecd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19166de9737218b77122c41a5730ac87025e089f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b015f2918b95bdde2ca9cefa10ef02b138aae1e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e7c63c69f57b1db1a8a1542359a6167ff8fcef1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/62cd5d480b9762ce70d720a81fa5b373052ae05f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T20:41:59.884Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71147","url":"https://www.cve.org/CVERecord?id=CVE-2025-71147","licence":"CVE Terms of Use","modified":"2026-10-19T18:15:16.099Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71147","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71147","licence":"Public domain","modified":"2026-10-19T19:17:15.433Z"}],"updatedAt":"2026-11-25T22:59:10.835Z","epss":{"score":0.00142,"percentile":0.03743,"date":"2026-12-01T12:00:22.000Z"}}