VDB

CVE-2026-89559

CVE-2026-89559 PUBLISHED CVSS 7.8 HIGH

libnvdimm/labels: Prevent integer overflow in __nd_label_validate()

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: libnvdimm/labels: Prevent integer overflow in __nd_label_validate() The on-media namespace index field nslot is a u32 read from the DIMM label storage area. __nd_label_validate() bounds it against the config area size, but sizeof_namespace_label() returns unsigned, so the product nslot * label_size is evaluated in 32-bit and wraps modulo 2^32 before the comparison. A crafted nslot passes the bound and is then used as the loop trip count in nd_label_data_init(), whose memset() walks off the end of the config_size buffer: an out-of-bounds write. The field is not trusted -- it comes from the medium, or from userspace via ND_CMD_SET_CONFIG_DATA. Evaluate the product in 64-bit so the bound check is exact; conforming labels are unaffected. The check was safe when introduced by commit 4a826c83db4e ("libnvdimm: namespace indices: read and validate"): it multiplied by sizeof(struct nd_namespace_label), a size_t, so on a 64-bit build the product did not wrap. Commit 564e871aa66f ("libnvdimm, label: add v1.2 nvdimm label definitions") narrowed it to 32 bits when the label size became a runtime value read via sizeof_namespace_label().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel-toolsAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.51-120.162.amzn2023
LinuxLinuxb4975f2ff6c82adc24ae547f029f82530ba43cfe, 93967bfb17dab66642c57e609c99e1a91fe11278, 6030597ec683d1e5b46445f888bb5c7776b5a0c4, 4.13, 1c391696d2791f82ae462e11da9a0d96f90b240c

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux564e871aa66f548a947b23808d3140f326381f0c, 564e871aa66f548a947b23808d3140f326381f0c, 564e871aa66f548a947b23808d3140f326381f0c
LinuxLinux4.13, 0, 5.10.270
amazon:2023perf0
amazon:2023kernel6.12-devel0
amazon:2023perf6.120
amazon:2023kernel-tools0
amazon:2023kernel6.18-tools0
LinuxLinux564e871aa66f548a947b23808d3140f326381f0c, 7.3, 6.6.157
amazon:2023kernel6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023perf6.180
amazon:2023kernel6.18-headers0
amazon:2023bpftool0
amazon:2023kernel6.18-tools-devel0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel0
amazon:2023kernel6.12-tools-devel0

…and 18 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (10 in total, the first dated here)
  • Sep 12, 2026 Coalition ESS Score
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89559
vulnetix vdb fixes CVE-2026-89559

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89559/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›