{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f2219745250f388edacabe6cca73654131c67d0a"
            },
            {
              "fixed": "3fd7df4636d8fd5e3592371967a5941204368936"
            },
            {
              "fixed": "af0689cafb127a8d1af78cc8b72585c9b2a19ecd"
            },
            {
              "fixed": "19166de9737218b77122c41a5730ac87025e089f"
            },
            {
              "fixed": "9b015f2918b95bdde2ca9cefa10ef02b138aae1e"
            },
            {
              "fixed": "9e7c63c69f57b1db1a8a1542359a6167ff8fcef1"
            },
            {
              "fixed": "62cd5d480b9762ce70d720a81fa5b373052ae05f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "5.15.198"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.160"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71147.json"
  },
  "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.",
  "id": "CVE-2025-71147",
  "modified": "2026-02-09T19:33:10.819768746Z",
  "published": "2026-01-23T14:15:13.945Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "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"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "KEYS: trusted: Fix a memory leak in tpm2_load_cmd"
}