Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ND_CMD_SET_CONFIG_DATA on /dev/nmem* requires CAP_SYS_ADMIN in practice, raising PR to H; all other metrics match the confirmed local heap-write impact.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
5DescriptionCVE.org
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().
AnalysisAI
Integer overflow in the Linux kernel's libnvdimm label-validation path allows a local low-privileged attacker with access to NVDIMM configuration commands (or crafted DIMM media) to trigger an out-of-bounds write in nd_label_data_init(). The on-media u32 field nslot, multiplied by sizeof_namespace_label() in 32-bit arithmetic introduced as a regression in Linux 4.13 (commit 564e871aa66f), wraps modulo 2^32 before the bounds check, causing a downstream memset() to overrun the config buffer. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires: (1) the target system must be running Linux 4.13 or later with CONFIG_LIBNVDIMM compiled in; (2) NVDIMM/PMem hardware must be present and enumerated by the kernel; (3) the attacker must either have write access to /dev/nmem* (typically requiring CAP_SYS_ADMIN or an explicit udev ACL) to inject crafted label data via ND_CMD_SET_CONFIG_DATA, OR must have physical or privileged firmware access to pre-flash a crafted label onto the DIMM media before boot. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | CVSS 7.8 (AV:L/AC:L/PR:L) aligns with the actual attack surface: local access is required, and while AC:L reflects that the overflow arithmetic is deterministic once access is obtained, the PR:L designation may understate the real barrier - ND_CMD_SET_CONFIG_DATA ioctl on /dev/nmem* devices typically demands CAP_SYS_ADMIN or explicit device ACL grants, which leans toward PR:H for the ioctl path; the crafted-medium path requires physical or privileged firmware access. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Vendor-released patches are available: upgrade to Linux 6.12.109, 6.18.50, 7.2.4, or 7.3-rc1. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, determine whether your organization operates Linux systems with NVDIMM persistent memory hardware; most standard data center deployments lack this infrastructure and can defer this issue. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-76470
GHSA-cp82-3r67-94rf