Skip to main content

Linux Kernel CVE-2026-45990

| EUVDEUVD-2026-32286 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-q4r9-vxp8-26x5
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege access on target host
  2. Delivery
    Identify or craft kernel code path calling krealloc_node_align() with shrink and forced alignment/NUMA
  3. Exploit
    Trigger reallocation fallback with uninitialized or unbounded size variable
  4. Execution
    memcpy() copies orig_size bytes into undersized new allocation
  5. Persist
    Out-of-bounds write corrupts adjacent kernel heap
  6. Impact
    Kernel panic or heap object corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) local system access with at least low-privilege execution (PR:L per CVSS vector - a local shell or process on the target system); (2) a reachable kernel code path that invokes krealloc_node_align() or kvrealloc() with parameters that simultaneously shrink the allocation AND force a new memory alignment or NUMA node constraint - this specific combination of shrink-plus-forcing is what triggers the vulnerable reallocation fallback; (3) a kernel version incorporating commit 2cd8231796b5 but not the fix commits (Linux 6.18.x before 6.18.27, 7.0.x before 7.0.4, or upstream pre-7.1-rc1). Limiting factors include: the shrink-plus-forced-alignment/NUMA combination is an uncommon, non-default code path not reachable via ordinary krealloc() calls; the attack is purely local with no network vector (AV:L confirmed); KFENCE- or KASAN-enabled kernels will catch the overflow immediately and crash, preventing silent persistent heap corruption; most user-space processes do not directly drive SLUB alignment-forcing paths without specific kernel subsystem involvement.

Impact

The official CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) rates this as a local, low-complexity, low-privilege vulnerability with high availability impact and no confidentiality or integrity impact. The I:N metric warrants scrutiny: the vulnerability is an out-of-bounds write that overwrites adjacent kernel heap objects, which implicitly carries integrity impact (adjacent objects are corrupted); the official I:N may reflect the expected crash-before-exploitation behavior on modern kernels rather than the absence of any memory write side effect. EPSS at 0.02% (4th percentile) indicates very low probability of widespread automated exploitation, consistent with the highly specific triggering conditions required. The vulnerability is not in CISA KEV and no public exploit code has been identified - only a kernel developer's lkdtm reproducer is described. The primary real-world risk is denial of service via kernel panic on systems where low-privilege users can reach the krealloc_node_align() code path with shrink-plus-alignment parameters. Shared kernel environments (container hosts, VPS platforms, CI runners) face elevated risk compared to single-tenant systems. Overall: medium severity, fix-in-next-maintenance-window for most deployments, but prioritize on shared-kernel multi-tenant hosts.

Exploit ScenarioDerived

A local attacker with a low-privilege shell on a shared kernel host identifies or constructs a kernel subsystem call path - such as a device driver, file system operation, or kernel module - that invokes krealloc_node_align() to shrink an existing slab allocation while forcing a new memory alignment or NUMA node. When the reallocation fallback path executes, memcpy() uses the original (larger) allocation size to copy data into the smaller new buffer, overwriting adjacent kernel heap metadata or objects by up to the difference in sizes and triggering a kernel panic or silent corruption. No public proof-of-concept exploit exists at time of analysis, though the CVE description provides a functional lkdtm reproducer (KREALLOC_SHRINK_OVERFLOW) that demonstrates the overflow within seconds of execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 16, 2026

Out-of-bounds write and data-loss bugs in the Linux kernel SLUB allocator's krealloc() function affect kernels incorporating commit 2cd8231796b5, which introduced NUMA node and alignment forcing to k[v]realloc(). A local attacker with low privileges who can trigger the krealloc_node_align() or kvrealloc() reallocation fallback path - specifically when shrinking an allocation while simultaneously forcing a new alignment or NUMA node - can cause kernel heap memory corruption leading to a system panic or silent heap object corruption. No public exploit exists beyond the lkdtm reproducer in the CVE description; EPSS stands at the 4th percentile and the vulnerability is not in CISA KEV. Vendor-released patches are confirmed available in Linux 6.18.27, 7.0.4, and 7.1-rc1.

RemediationAI

The primary fix is to upgrade the Linux kernel to a patched version: 6.18.27, 7.0.4, or 7.1-rc1 (or any later release). Upstream fix commits are available at https://git.kernel.org/stable/c/082a6d03a2d685a83a332666b500ad3966349588 (one stable branch), https://git.kernel.org/stable/c/38387ccc0fbe38d14fb4c2ad7ee1d7404e5e59fd (second branch), and https://git.kernel.org/stable/c/550fa6b5aabb096554536ac1e3ec96b76cbb35fd (third branch); these patches move old-size calculation to the top of __do_krealloc() and bound all memcpy() copy lengths by the new allocation size, and apply the same bound to kvrealloc(). Patch availability is confirmed by vendor (kernel.org stable tree). No architectural workaround can selectively disable the krealloc_node_align() code path without significant functional regression, as SLUB is the default kernel allocator used pervasively. Organizations unable to immediately upgrade should restrict untrusted local user access on shared-kernel hosts and enable KFENCE or KASAN on non-production systems to detect exploitation attempts via out-of-bounds write reports.

Affected VersionsENISA

Linux 2cd8231796b5e7133b1c3d66ad7d2a3c42c97258 <38387ccc0fbe38d14fb4c2ad7ee1d7404e5e59fd
Linux patch: 7.1-rc1
Linux patch: 6.18.27
Linux patch: 7.0.4
Linux 6.18
Linux 2cd8231796b5e7133b1c3d66ad7d2a3c42c97258 <550fa6b5aabb096554536ac1e3ec96b76cbb35fd
Linux patch: 0
Linux 2cd8231796b5e7133b1c3d66ad7d2a3c42c97258 <082a6d03a2d685a83a332666b500ad3966349588

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Linux kernel SLUB allocator (CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*), specifically in __do_krealloc() and kvrealloc(). Commit 2cd8231796b5 (mm/slub: allow to set node and align in k[v]realloc) added forced reallocation when an existing slab object fails to meet new alignment or NUMA node constraints, even during a shrink operation. This introduced two distinct bugs in the reallocation fallback path: first, a NUMA migration data-loss bug where the jump to the alloc_new label occurs before ks and orig_size are initialized, causing memcpy() to silently copy 0 bytes into the new allocation; second, a buffer overflow bug where memcpy() uses orig_size ?: ks (the original, larger bucket size) rather than new_size when writing into a smaller allocation - an out-of-bounds write into adjacent kernel heap memory. The identical overflow exists in the kvrealloc() fallback, where ksize(p) is used without being bounded by new_size. CWE-190 (Integer Overflow) is listed alongside the Buffer Overflow tag; the root cause is more precisely a logical sequencing error and an unbounded copy length, with CWE-190 reflecting that misuse of the unshrunk size value drives the overflow. KFENCE confirms the overflow empirically as a write 120 bytes beyond a 64-byte kmalloc-64 object.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.1 MEDIUM

Local low-privilege trigger; out-of-bounds kernel heap write warrants I:L over I:N; A:H for kernel panic.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:H
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 16, 2026 - 13:52 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

slub: fix data loss and overflow in krealloc()

Commit 2cd8231796b5 ("mm/slub: allow to set node and align in k[v]realloc") introduced the ability to force a reallocation if the original object does not satisfy new alignment or NUMA node, even when the object is being shrunk.

This introduced two bugs in the reallocation fallback path:

  1. Data loss during NUMA migration: The jump to 'alloc_new' happens

before 'ks' and 'orig_size' are initialized. As a result, the memcpy() in the 'alloc_new' block would copy 0 bytes into the new allocation.

  1. Buffer overflow during shrinking: When shrinking an object while

forcing a new alignment, 'new_size' is smaller than the old size. However, the memcpy() used the old size ('orig_size ?: ks'), leading to an out-of-bounds write.

The same overflow bug exists in the kvrealloc() fallback path, where the old bucket size ksize(p) is copied into the new buffer without being bounded by the new size.

A simple reproducer:

// e.g. add to lkdtm as KREALLOC_SHRINK_OVERFLOW while (1) { void *p = kmalloc(128, GFP_KERNEL); p = krealloc_node_align(p, 64, 256, GFP_KERNEL, NUMA_NO_NODE); kfree(p); }

demonstrates the issue:

============== BUG: KFENCE: out-of-bounds write in memcpy_orig+0x68/0x130

Out-of-bounds write at 0xffff8883ad757038 (120B right of kfence-#47): memcpy_orig+0x68/0x130 krealloc_node_align_noprof+0x1c8/0x340 lkdtm_KREALLOC_SHRINK_OVERFLOW+0x8c/0xc0 [lkdtm] lkdtm_do_action+0x3a/0x60 [lkdtm] ...

kfence-#47: 0xffff8883ad756fc0-0xffff8883ad756fff, size=64, cache=kmalloc-64

allocated by task 316 on cpu 7 at 97.680481s (0.021813s ago): krealloc_node_align_noprof+0x19c/0x340 lkdtm_KREALLOC_SHRINK_OVERFLOW+0x8c/0xc0 [lkdtm] lkdtm_do_action+0x3a/0x60 [lkdtm] ... ==============

Fix it by moving the old size calculation to the top of __do_krealloc() and bounding all copy lengths by the new allocation size.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy