{"id":"CVE-2025-71147","summary":"KEYS: trusted: Fix a memory leak in tpm2_load_cmd","details":"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.","aliases":["ECHO-ad4e-5a46-92cf"],"modified":"2026-04-21T02:27:28.414176086Z","published":"2026-01-23T14:15:13.945Z","related":["SUSE-SU-2026:0447-1","SUSE-SU-2026:0471-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20287-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71147.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/19166de9737218b77122c41a5730ac87025e089f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fd7df4636d8fd5e3592371967a5941204368936"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62cd5d480b9762ce70d720a81fa5b373052ae05f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b015f2918b95bdde2ca9cefa10ef02b138aae1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e7c63c69f57b1db1a8a1542359a6167ff8fcef1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af0689cafb127a8d1af78cc8b72585c9b2a19ecd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71147.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71147"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f2219745250f388edacabe6cca73654131c67d0a"},{"fixed":"3fd7df4636d8fd5e3592371967a5941204368936"},{"fixed":"af0689cafb127a8d1af78cc8b72585c9b2a19ecd"},{"fixed":"19166de9737218b77122c41a5730ac87025e089f"},{"fixed":"9b015f2918b95bdde2ca9cefa10ef02b138aae1e"},{"fixed":"9e7c63c69f57b1db1a8a1542359a6167ff8fcef1"},{"fixed":"62cd5d480b9762ce70d720a81fa5b373052ae05f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71147.json"}}],"schema_version":"1.7.5"}