{
  "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-2026-31399",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31399",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-03T15:16:03.246Z",
    "updatedAt": "2026-05-23T16:04:55.198Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "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": "nvdimm/bus: Fix potential use after free in asynchronous initialization",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvdimm/bus: Fix potential use after free in asynchronous initialization\n\nDingisoul with KASAN reports a use after free if device_add() fails in\nnd_async_device_register().\n\nCommit b6eae0f61db2 (\"libnvdimm: Hold reference on parent while\nscheduling async init\") correctly added a reference on the parent device\nto be held until asynchronous initialization was complete.  However, if\ndevice_add() results in an allocation failure the ref count of the\ndevice drops to 0 prior to the parent pointer being accessed.  Thus\nresulting in use after free.\n\nThe bug bot AI correctly identified the fix.  Save a reference to the\nparent pointer to be used to drop the parent reference regardless of the\noutcome of device_add().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6fc36c2a925ceaba203eb13d75a8f0879a2c121b"
            },
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a36cf138500e56f50db9f9a33222df6969b38326"
            },
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9a0fb16ba5b372465a3a1ecd761c6fa911a4ab4d"
            },
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e48bf8f1d2b12c1c5ba1f609edbd4cde5dadc20e"
            },
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2c638259ad750833fd46a0cf57672a618542d84c"
            },
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a226e5b49e5fe8c98b14f8507de670189d191348"
            },
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "84af19855d1abdee3c9d57c0684e2868e391793c"
            },
            {
              "version": "b6eae0f61db27748606cc00dafcfd1e2c032f0a5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a8aec14230322ed8f1e8042b6d656c1631d41163"
            },
            {
              "version": "8954771abdea5c34280870e35592c7226a816d95",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "3e63a7f25cc85d3d3e174b9b0e3489ebb7eaf4ab",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "1490de2bb0836fc0631c04d0559fdf81545b672f",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "e31a8418c8df7e6771414f99ed3d95ba8aca4e05",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4f1a55a4f990016406147cf3e0c9487bf83e50f0",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4.4.164",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.5"
            },
            {
              "version": "4.9.137",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.10"
            },
            {
              "version": "4.14.81",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "4.18.19",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.19"
            },
            {
              "version": "4.19.2",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.20"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.20",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.20"
            },
            {
              "version": "5.10.253",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.203",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.167",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.130",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.78",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.20",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}