CVE-2026-46281: vmalloc: fix buffer overflow in vrealloc_node_align()

Published Jun 8, 2026
·
Updated

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

vmalloc: fix buffer overflow in vreallocnodealign()

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 (needrealloc), the code allocates a new object of 'size' bytes and then memcpy()s 'oldsize' bytes into it. If the request is to shrink the object (size < oldsize), this results in an out-of-bounds write on the new buffer.

Fix this by bounding the copy length by the new allocation size.

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=6.18<6.18.27
Linux Linux kernel>=6.19<7.0.4
Linux Linux kernel=7.1-rc1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Apply the Linux kernel fix for the buffer overflow in vrealloc_node_align() by ensuring the copy length is bounded by the new allocation size (i.e., cap memcpy() to the new allocation size when vrealloc shrinks the object).

Event History

Jun 8, 2026
CVE Published
via MITRE·03:41 PM
Data Sourced
via MITRE·03:41 PM
Description
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46281?

CVE-2026-46281 has a risk rating of 46.

2

What type of vulnerability is CVE-2026-46281?

CVE-2026-46281 is classified as a buffer overflow vulnerability in the Linux kernel.

3

How do I fix CVE-2026-46281?

To fix CVE-2026-46281, update your Linux kernel to the latest version that includes the patch for this vulnerability.

4

What impact does CVE-2026-46281 have on systems?

The impact of CVE-2026-46281 can include potential crashes or arbitrary code execution due to the buffer overflow in memory allocation.

5

In which component of the Linux kernel does CVE-2026-46281 occur?

CVE-2026-46281 occurs in the vmalloc memory management component of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203