CVE-2026-31399: nvdimm/bus: Fix potential use after free in asynchronous initialization
Vulnerability summary
CVE-2026-31399 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.3% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 30 · Related 26Timeline
- 03-04-2026PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: nvdimm/bus: Fix potential use after free in asynchronous initialization Dingisoul with KASAN reports a use after free if device_add() fails in nd_async_device_register(). Commit b6eae0f61db2 ("libnvdimm: Hold reference on parent while scheduling async init") correctly added a reference on the parent device to be held until asynchronous initialization was complete. However, if device_add() results in an allocation failure the ref count of the device drops to 0 prior to the parent pointer being accessed. Thus resulting in use after free. The bug bot AI correctly identified the fix. Save a reference to the parent pointer to be used to drop the parent reference regardless of the outcome of device_add().
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.12% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu158 products
- linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-136.136
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1061.64
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < 6fc36c2a925ceaba203eb13d75a8f0879a2c121b | ≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < a36cf138500e56f50db9f9a33222df6969b38326 | ≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < 9a0fb16ba5b372465a3a1ecd761c6fa911a4ab4d | ≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < e48bf8f1d2b12c1c5ba1f609edbd4cde5dadc20e | ≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < 2c638259ad750833fd46a0cf57672a618542d84c | ≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < a226e5b49e5fe8c98b14f8507de670189d191348 | ≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < 84af19855d1abdee3c9d57c0684e2868e391793c | ≥ b6eae0f61db27748606cc00dafcfd1e2c032f0a5, < a8aec14230322ed8f1e8042b6d656c1631d41163 | 8954771abdea5c34280870e35592c7226a816d95 | 3e63a7f25cc85d3d3e174b9b0e3489ebb7eaf4ab | 1490de2bb0836fc0631c04d0559fdf81545b672f | e31a8418c8df7e6771414f99ed3d95ba8aca4e05 | 4f1a55a4f990016406147cf3e0c9487bf83e50f0 | ≥ 4.4.164, < 4.5 | ≥ 4.9.137, < 4.10 | ≥ 4.14.81, < 4.15 | ≥ 4.18.19, < 4.19 | ≥ 4.19.2, < 4.20 | 4.20
- linux_kernel≥ 4.4.164, < 4.5 | ≥ 4.9.137, < 4.10 | ≥ 4.14.81, < 4.15 | ≥ 4.18.19, < 4.19 | ≥ 4.19.2, < 5.10.253 | ≥ 5.11, < 5.15.203 | ≥ 5.16, < 6.1.167 | ≥ 6.2, < 6.6.130 | ≥ 6.7, < 6.12.78 | ≥ 6.13, < 6.18.20 | ≥ 6.19, < 6.19.10 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4
Debian1 product
- linux< 6.1.170-1 | < 6.12.85-1 | < 6.19.10-1
3 vendors · 161 products