{"id":"CVE-2026-46281","published":"2026-06-08T15:41:24Z","modified":"2026-06-14T18:06:05Z","title":"vmalloc: fix buffer overflow in vrealloc_node_align()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvmalloc: fix buffer overflow in vrealloc_node_align()\n\nCommit 4c5d3365882d (\"mm/vmalloc: allow to set node and align in\nvrealloc\") added the ability to force a new allocation if the current\npointer is on the wrong NUMA node, or if an alignment constraint is not\nmet, even if the user is shrinking the allocation.\n\nOn this path (need_realloc), the code allocates a new object of 'size'\nbytes and then memcpy()s 'old_size' bytes into it.  If the request is to\nshrink the object (size < old_size), this results in an out-of-bounds\nwrite on the new buffer.\n\nFix this by bounding the copy length by the new allocation size.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0014,"percentile":0.03359,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e9b057a44deff4c59c13f44672a5cc74dcd57522","tags":[]},{"url":"https://git.kernel.org/stable/c/b281adf71f786c325eb6d6d1582d4d05313438a8","tags":[]},{"url":"https://git.kernel.org/stable/c/82d1f01292d3f09bf063f829f8ab8de12b4280a1","tags":[]}],"priority":{"score":0.7,"factors":[{"name":"EPSS percentile","points":0.67}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4c5d3365882dbbc0784688784904f440d7a4c0f1, < e9b057a44deff4c59c13f44672a5cc74dcd57522",">= 4c5d3365882dbbc0784688784904f440d7a4c0f1, < b281adf71f786c325eb6d6d1582d4d05313438a8",">= 4c5d3365882dbbc0784688784904f440d7a4c0f1, < 82d1f01292d3f09bf063f829f8ab8de12b4280a1"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-35146","exploited":false,"provenance":"source"}}