Description
In the Linux kernel, the following vulnerability has been resolved:

vmalloc: fix buffer overflow in vrealloc_node_align()

Commit 4c5d3365882d ("mm/vmalloc: allow to set node and align in
vrealloc") added the ability to force a new allocation if the current
pointer is on the wrong NUMA node, or if an alignment constraint is not
met, even if the user is shrinking the allocation.

On this path (need_realloc), the code allocates a new object of 'size'
bytes and then memcpy()s 'old_size' bytes into it. If the request is to
shrink the object (size < old_size), this results in an out-of-bounds
write on the new buffer.

Fix this by bounding the copy length by the new allocation size.
Published: 2026-06-08
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s vmalloc subsystem contains a buffer overflow in the vrealloc_node_align function. When a buffer is resized to a smaller size, the routine copies the full old length bytewise into the new allocation. If the new allocation is smaller than the old, this results in an out‑of‑bounds write past the end of the destination buffer, corrupting kernel memory. The corruption can lead to a kernel crash, denial of service, or alteration of kernel state that could be leveraged for privilege escalation. The flaw is specifically tied to the need_realloc path that forces a new allocation when the current pointer is on the wrong NUMA node or does not meet alignment requirements, even for shrink operations.

Affected Systems

Any Linux kernel build that has not incorporated the commit that limits the copy length is affected. Because the vulnerability is addressed in a commit included in the mainline kernel, all stock Linux distributions shipping with a kernel older than that commit—and any custom kernels that exclude the update—fall within the scope. The relevant CPE identifiers indicate a broad range of Linux kernel releases, including version 7.1 release candidate 1 and all earlier kernels.

Risk and Exploitability

With a CVSS score of 7.8, the flaw represents medium‑to‑high risk. The EPSS score is listed as less than 1 %, indicating that the probability of exploitation is very low at the time of analysis. It is not catalogued in CISA’s KEV list. Based on the description, it is inferred that exploitation would require local or privileged system access to invoke the vulnerable routine; the vulnerability description does not explicitly state the required attack vector, so that assessment is an inference rather than a direct statement from the CVE data.

Generated by OpenCVE AI on August 13, 2026 at 22:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that incorporates the commit which bounds the copy length.
  • If an upgrade is not immediately possible, apply the patch manually to your kernel source and rebuild the kernel.
  • Until the patch is applied, limit local users from executing code paths that trigger vmalloc resizing or monitor for anomalous memory usage that could indicate an attempt to exploit the flaw.

Generated by OpenCVE AI on August 13, 2026 at 22:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
History

Tue, 09 Jun 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Tue, 09 Jun 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Mon, 08 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Mon, 08 Jun 2026 17:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: vmalloc: fix buffer overflow in vrealloc_node_align() Commit 4c5d3365882d ("mm/vmalloc: allow to set node and align in vrealloc") added the ability to force a new allocation if the current pointer is on the wrong NUMA node, or if an alignment constraint is not met, even if the user is shrinking the allocation. On this path (need_realloc), the code allocates a new object of 'size' bytes and then memcpy()s 'old_size' bytes into it. If the request is to shrink the object (size < old_size), this results in an out-of-bounds write on the new buffer. Fix this by bounding the copy length by the new allocation size.
Title vmalloc: fix buffer overflow in vrealloc_node_align()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T18:06:05.046Z

Reserved: 2026-05-13T15:03:33.110Z

Link: CVE-2026-46281

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-08T17:16:45.817

Modified: 2026-07-23T08:10:00.137

Link: CVE-2026-46281

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-08T00:00:00Z

Links: CVE-2026-46281 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T23:00:06Z

Weaknesses