{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31399","id":"CVE-2026-31399","title":"nvdimm/bus: Fix potential use after free in asynchronous initialization","description":"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 asyn","descriptionLong":"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().","published":"2026-04-03T15:16:03.246Z","updated":"2026-11-17T07:03:35.540692490Z","reserved":"2026-03-09T15:48:24.085Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"6fc36c2a925ceaba203eb13d75a8f0879a2c121b","status":"affected","versionType":"git"},{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"a36cf138500e56f50db9f9a33222df6969b38326","status":"affected","versionType":"git"},{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"9a0fb16ba5b372465a3a1ecd761c6fa911a4ab4d","status":"affected","versionType":"git"},{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"e48bf8f1d2b12c1c5ba1f609edbd4cde5dadc20e","status":"affected","versionType":"git"},{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"2c638259ad750833fd46a0cf57672a618542d84c","status":"affected","versionType":"git"},{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"a226e5b49e5fe8c98b14f8507de670189d191348","status":"affected","versionType":"git"},{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"84af19855d1abdee3c9d57c0684e2868e391793c","status":"affected","versionType":"git"},{"version":"b6eae0f61db27748606cc00dafcfd1e2c032f0a5","lessThan":"a8aec14230322ed8f1e8042b6d656c1631d41163","status":"affected","versionType":"git"},{"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","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.9.137","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.81","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.18.19","lessThan":"4.19","status":"affected","versionType":"semver"},{"version":"4.19.2","lessThan":"4.20","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","lessThan":"4.20","status":"unaffected","versionType":"semver"},{"version":"5.10.253","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.167","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.130","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.78","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.20","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.10","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6fc36c2a925ceaba203eb13d75a8f0879a2c121b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a36cf138500e56f50db9f9a33222df6969b38326","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9a0fb16ba5b372465a3a1ecd761c6fa911a4ab4d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e48bf8f1d2b12c1c5ba1f609edbd4cde5dadc20e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2c638259ad750833fd46a0cf57672a618542d84c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a226e5b49e5fe8c98b14f8507de670189d191348","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/84af19855d1abdee3c9d57c0684e2868e391793c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a8aec14230322ed8f1e8042b6d656c1631d41163","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31399.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31399","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00122,"epssPercentile":0.01987,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31399","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31399","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31399","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31399","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}