7.8
HIGH CVSS 3.1
CVE-2026-46281
vmalloc: fix buffer overflow in vrealloc_node_align()
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.

INFO

Published Date :

June 8, 2026, 5:16 p.m.

Last Modified :

July 23, 2026, 8:10 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-46281 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Fix buffer overflow by bounding copy length to new allocation size.
  • Apply the provided kernel patch.
  • Recompile the kernel with the fix.
  • Update the affected Linux systems.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-46281.

URL Resource
https://git.kernel.org/stable/c/82d1f01292d3f09bf063f829f8ab8de12b4280a1 Patch
https://git.kernel.org/stable/c/b281adf71f786c325eb6d6d1582d4d05313438a8 Patch
https://git.kernel.org/stable/c/e9b057a44deff4c59c13f44672a5cc74dcd57522 Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-46281 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-46281 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-46281 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-46281 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Jul. 23, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: vmalloc: corregir desbordamiento de búfer en vrealloc_node_align() El commit 4c5d3365882d ('mm/vmalloc: permitir establecer nodo y alineación en vrealloc') añadió la capacidad de forzar una nueva asignación si el puntero actual está en el nodo NUMA incorrecto, o si no se cumple una restricción de alineación, incluso si el usuario está reduciendo la asignación. En esta ruta (need_realloc), el código asigna un nuevo objeto de 'size' bytes y luego copia 'old_size' bytes en él usando memcpy(). Si la solicitud es reducir el objeto (size < old_size), esto resulta en una escritura fuera de límites en el nuevo búfer. Solucionar esto limitando la longitud de la copia por el nuevo tamaño de asignación.
  • Initial Analysis by [email protected]

    Jul. 08, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.18 up to (excluding) 6.18.27
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/82d1f01292d3f09bf063f829f8ab8de12b4280a1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b281adf71f786c325eb6d6d1582d4d05313438a8 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e9b057a44deff4c59c13f44672a5cc74dcd57522 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4c5d3365882dbbc0784688784904f440d7a4c0f1', 'lessThan': 'e9b057a44deff4c59c13f44672a5cc74dcd57522', 'versionType': 'git'}, {'status': 'affected', 'version': '4c5d3365882dbbc0784688784904f440d7a4c0f1', 'lessThan': 'b281adf71f786c325eb6d6d1582d4d05313438a8', 'versionType': 'git'}, {'status': 'affected', 'version': '4c5d3365882dbbc0784688784904f440d7a4c0f1', 'lessThan': '82d1f01292d3f09bf063f829f8ab8de12b4280a1', 'versionType': 'git'}], 'programFiles': ['mm/vmalloc.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.27', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.4', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/vmalloc.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 08, 2026

    Action Type Old Value New Value
    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.
    Added Reference https://git.kernel.org/stable/c/82d1f01292d3f09bf063f829f8ab8de12b4280a1
    Added Reference https://git.kernel.org/stable/c/b281adf71f786c325eb6d6d1582d4d05313438a8
    Added Reference https://git.kernel.org/stable/c/e9b057a44deff4c59c13f44672a5cc74dcd57522
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.