{
  "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-47058",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-47058",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-02-29T22:37:33.232Z",
    "updatedAt": "2026-05-23T15:19:11.297Z",
    "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": "regmap: set debugfs_name to NULL after it is freed",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nregmap: set debugfs_name to NULL after it is freed\n\nThere is a upstream commit cffa4b2122f5(\"regmap:debugfs:\nFix a memory leak when calling regmap_attach_dev\") that\nadds a if condition when create name for debugfs_name.\nWith below function invoking logical, debugfs_name is\nfreed in regmap_debugfs_exit(), but it is not created again\nbecause of the if condition introduced by above commit.\nregmap_reinit_cache()\n\tregmap_debugfs_exit()\n\t...\n\tregmap_debugfs_init()\nSo, set debugfs_name to NULL after it is freed.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "5b654b03007917f3f1015b2a5c288c1ea6ae8f65",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2dc1554d5f0fdaf47cc5bea442b84b9226fea867"
            },
            {
              "version": "480c5e9c7e4c76c01d5f1f7b73832d7b77e6b427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d8897f7b2283a500666c85ef06e820df38ed7b52"
            },
            {
              "version": "c9698380b01aed3281160d3ab25749b57d6913b8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "eb949f891226c012138ffd9df90d1e509f428ae6"
            },
            {
              "version": "cffa4b2122f5f3e53cf3d529bbc74651f95856d5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c764e375ae647832de1ee73d43a4bb3ef8a8f43d"
            },
            {
              "version": "cffa4b2122f5f3e53cf3d529bbc74651f95856d5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b9e569ae1da3a113b3acee8703c94777fd20938a"
            },
            {
              "version": "cffa4b2122f5f3e53cf3d529bbc74651f95856d5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e41a962f82e7afb5b1ee644f48ad0b3aee656268"
            },
            {
              "version": "4.19.168",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.19.191"
            },
            {
              "version": "5.4.90",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.4.119"
            },
            {
              "version": "5.10.8",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10.37"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.11",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.11"
            },
            {
              "version": "4.19.191",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.119",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.37",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.11.21",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.11.*"
            },
            {
              "version": "5.12.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.12.*"
            },
            {
              "version": "5.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}