{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2021-47305",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-47305",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-21T14:35:25.345Z",
    "updatedAt": "2026-05-11T13:51:55.194Z",
    "importedAt": "2026-10-24T01:56:36.661Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "dma-buf/sync_file: Don't leak fences on merge failure",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf/sync_file: Don't leak fences on merge failure\n\nEach add_fence() call does a dma_fence_get() on the relevant fence.  In\nthe error path, we weren't calling dma_fence_put() so all those fences\ngot leaked.  Also, in the krealloc_array failure case, we weren't\nfreeing the fences array.  Instead, ensure that i and fences are always\nzero-initialized and dma_fence_put() all the fences and kfree(fences) on\nevery error path.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a02b9dc90d844cc7df7b63264e7920cc425052d9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "19f51c2529339280d2c8c6427cd3e21ddf1ac3f8"
            },
            {
              "version": "a02b9dc90d844cc7df7b63264e7920cc425052d9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e0355a0ad31a1d677b2a4514206de4902bd550e8"
            },
            {
              "version": "a02b9dc90d844cc7df7b63264e7920cc425052d9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "41f45e91c92c8480242ea448d54e28c753b13902"
            },
            {
              "version": "a02b9dc90d844cc7df7b63264e7920cc425052d9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0d514185ae792d3a1903c8e1a83899aa996705ce"
            },
            {
              "version": "a02b9dc90d844cc7df7b63264e7920cc425052d9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "19edcd97727aae9362444a859a24d99a8730cb27"
            },
            {
              "version": "a02b9dc90d844cc7df7b63264e7920cc425052d9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ffe000217c5068c5da07ccb1c0f8cce7ad767435"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.9"
            },
            {
              "version": "4.14.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.199",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.135",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.53",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.13.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.13.*"
            },
            {
              "version": "5.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}