In the Linux kernel, the following vulnerability has been resolved: libnvdimm/labels: Prevent integer overflow in __nd_label_validate() The on-media… (CVE-2026-89559)
A vulnerability in the Linux kernel's libnvdimm subsystem was resolved that involved an integer overflow in the __nd_label_validate() function. This overflow could cause an out-of-bounds write due to incorrect bounds checking of a namespace index field read from DIMM label storage. The issue arises because a 32-bit multiplication wraps around, allowing crafted input to bypass validation and cause memory corruption.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel libnvdimm labels code involves an integer overflow in the __nd_label_validate() function. The on-media namespace index field 'nslot' is a 32-bit unsigned integer read from DIMM label storage. The function attempts to validate 'nslot' by comparing the product of 'nslot' and the label size against the configuration area size. However, this multiplication is performed as a 32-bit operation, causing wraparound and allowing a crafted 'nslot' value to pass validation incorrectly. This leads to an out-of-bounds write in nd_label_data_init() when memset() writes beyond the buffer. The fix involves evaluating the product in 64-bit arithmetic to prevent overflow and ensure accurate bounds checking. The vulnerability stems from a change that narrowed the label size to 32 bits at runtime, which introduced the overflow risk.
Potential Impact
The vulnerability allows an attacker to cause an out-of-bounds write in kernel memory by supplying a crafted namespace index value. This memory corruption could potentially lead to system instability or escalation of privileges if exploited. The affected field is untrusted input from either the DIMM medium or userspace via ND_CMD_SET_CONFIG_DATA. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been applied in the Linux kernel source code to evaluate the multiplication in 64-bit arithmetic, preventing the integer overflow and ensuring proper bounds checking. Users should apply the official kernel updates that include this fix. Since this is a kernel vulnerability, upgrading to a patched kernel version is the recommended remediation.
In the Linux kernel, the following vulnerability has been resolved: libnvdimm/labels: Prevent integer overflow in __nd_label_validate() The on-media… (CVE-2026-89559)
Description
A vulnerability in the Linux kernel's libnvdimm subsystem was resolved that involved an integer overflow in the __nd_label_validate() function. This overflow could cause an out-of-bounds write due to incorrect bounds checking of a namespace index field read from DIMM label storage. The issue arises because a 32-bit multiplication wraps around, allowing crafted input to bypass validation and cause memory corruption.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel libnvdimm labels code involves an integer overflow in the __nd_label_validate() function. The on-media namespace index field 'nslot' is a 32-bit unsigned integer read from DIMM label storage. The function attempts to validate 'nslot' by comparing the product of 'nslot' and the label size against the configuration area size. However, this multiplication is performed as a 32-bit operation, causing wraparound and allowing a crafted 'nslot' value to pass validation incorrectly. This leads to an out-of-bounds write in nd_label_data_init() when memset() writes beyond the buffer. The fix involves evaluating the product in 64-bit arithmetic to prevent overflow and ensure accurate bounds checking. The vulnerability stems from a change that narrowed the label size to 32 bits at runtime, which introduced the overflow risk.
Potential Impact
The vulnerability allows an attacker to cause an out-of-bounds write in kernel memory by supplying a crafted namespace index value. This memory corruption could potentially lead to system instability or escalation of privileges if exploited. The affected field is untrusted input from either the DIMM medium or userspace via ND_CMD_SET_CONFIG_DATA. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been applied in the Linux kernel source code to evaluate the multiplication in 64-bit arithmetic, preventing the integer overflow and ensuring proper bounds checking. Users should apply the official kernel updates that include this fix. Since this is a kernel vulnerability, upgrading to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cp82-3r67-94rf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89559"]
Threat ID: 6aa4a00f55bf5e2cf5a866a3
Added to database: 09/12/2026, 00:42:55 UTC
Last enriched: 09/12/2026, 01:06:06 UTC
Last updated: 09/12/2026, 01:06:06 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.