{"id":"CVE-2026-89965","aliases":["CVE-2026-89965"],"related":[],"kind":"vulnerability","state":"published","title":"nvdimm/btt: reject an arena whose nfree is below the lane count","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvdimm/btt: reject an arena whose nfree is below the lane count\n\nThe BTT info block's nfree field, the number of reserve free blocks, is\nread from the medium without validation.  btt_freelist_init() and\nbtt_rtt_init() size the per-lane freelist[] and rtt[] arrays by nfree,\nbut the I/O path indexes them by the lane from nd_region_acquire_lane(),\nwhich is bounded by nd_region->num_lanes (ND_MAX_LANES), not by nfree.\nA crafted or foreign arena whose nfree is below the lane count makes\nfreelist[lane]/rtt[lane] run past the allocation: an out-of-bounds write.\n\nbtt.rst documents the nlanes = min(nfree, num_cpus) invariant, which the\ncode does not currently honor: num_lanes is ND_MAX_LANES regardless of\nnfree.  Reject an arena whose nfree is below num_lanes at discovery,\nbefore the per-lane arrays are allocated, enforcing that invariant.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvdimm/btt: reject an arena whose nfree is below the lane count\n\nThe BTT info block's nfree field, the number of reserve free blocks, is\nread from the medium without validation.  btt_freelist_init() and\nbtt_rtt_init() size the per-lane freelist[] and rtt[] arrays by nfree,\nbut the I/O path indexes them by the lane from nd_region_acquire_lane(),\nwhich is bounded by nd_region->num_lanes (ND_MAX_LANES), not by nfree.\nA crafted or foreign arena whose nfree is below the lane count makes\nfreelist[lane]/rtt[lane] run past the allocation: an out-of-bounds write.\n\nbtt.rst documents the nlanes = min(nfree, num_cpus) invariant, which the\ncode does not currently honor: num_lanes is ND_MAX_LANES regardless of\nnfree.  Reject an arena whose nfree is below num_lanes at discovery,\nbefore the per-lane arrays are allocated, enforcing that invariant.","source":"cvelist"}],"published":"2026-09-16T10:32:46.769Z","modified":"2026-10-19T09:18:42.880Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"eb491343d2d1784121ad9af91c25b338c28913c3","status":"affected"},{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"59d5cd1f42b4bab3609512c3cb3d3540d3d21da7","status":"affected"},{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"f6c5313aae794ecca8f762c1a3493de5c266f120","status":"affected"},{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"f9bf05c63b77d000e9c01f3e47af36973887d350","status":"affected"},{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"6f79d1a5f2611a3d36e9312be5425cd9cb397c51","status":"affected"},{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"6b1faf1f099f7060b5f1f2f0d024132581f1726e","status":"affected"},{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"9dfa11cef4750b67591307f2c62e47a23d60e4b7","status":"affected"},{"type":"git","introduced":"5212e11fde4d40fa627668b4f2222d20db488f71","fixed":"6a1f2e5ed9267ca19187038ac635393c165213ac","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/eb491343d2d1784121ad9af91c25b338c28913c3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59d5cd1f42b4bab3609512c3cb3d3540d3d21da7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6c5313aae794ecca8f762c1a3493de5c266f120","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9bf05c63b77d000e9c01f3e47af36973887d350","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f79d1a5f2611a3d36e9312be5425cd9cb397c51","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b1faf1f099f7060b5f1f2f0d024132581f1726e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9dfa11cef4750b67591307f2c62e47a23d60e4b7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a1f2e5ed9267ca19187038ac635393c165213ac","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89965","url":"https://www.cve.org/CVERecord?id=CVE-2026-89965","licence":"CVE Terms of Use","modified":"2026-10-19T08:55:38.886Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89965","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89965","licence":"Public domain","modified":"2026-10-19T09:18:42.880Z"}],"updatedAt":"2026-11-25T22:59:38.996Z","epss":{"score":0.00169,"percentile":0.06495,"date":"2026-12-02T12:00:21.000Z"}}