{
  "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-2022-49212",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-49212",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-26T01:55:48.690Z",
    "updatedAt": "2026-05-11T18:55:18.968Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "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": "mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init\n\nThe reference counting issue happens in several error handling paths\non a refcounted object \"nc->dmac\". In these paths, the function simply\nreturns the error code, forgetting to balance the reference count of\n\"nc->dmac\", increased earlier by dma_request_channel(), which may\ncause refcount leaks.\n\nFix it by decrementing the refcount of specific object in those error\npaths.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0856bf27057561f42b37df111603cf5a0d040294"
            },
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9843c9c98f26c6ad843260b19bfdaa2598f2ae1e"
            },
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9b08d211db4c447eb1a07df65e45e0aa772e0fa6"
            },
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a3587259ae553e41d1ce8c7435351a5d6b299a11"
            },
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fe0e2ce5c87e9c0b9485ff566362030aa55972cf"
            },
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8baea2b96fa90af8d0f937caf4cf2105ee094d93"
            },
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f1694169f3674cdf7553aed06864254635679878"
            },
            {
              "version": "f88fc122cc34c2545dec9562eaab121494e401ef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fecbd4a317c95d73c849648c406bcf1b6a0ec1cf"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.12"
            },
            {
              "version": "4.14.276",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.238",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.189",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.110",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.33",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.16.19",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.16.*"
            },
            {
              "version": "5.17.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.17.*"
            },
            {
              "version": "5.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}