Skip to main content

Linux Kernel EUVDEUVD-2026-32424

| CVE-2026-46042 MEDIUM
Memory Leak (CWE-401)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-pmw2-6gh9-j59g
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 shell on target system
  2. Delivery
    Confirm kernel version falls within affected range and sysfs write access is available
  3. Exploit
    Write '1' to weighted interleave sysfs attribute in a tight loop
  4. Execution
    Each write orphans a kernel heap allocation via rcu_assign_pointer()
  5. Persist
    Cumulative heap exhaustion triggers OOM killer
  6. Impact
    System denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires a local user account with write access to the weighted interleave NUMA policy sysfs interface, typically located under /sys/kernel/mm/mempolicy/weighted_interleave/. By default on many distributions this interface is writable only by root; however, systems that grant broader sysfs write permissions, use user namespaces with elevated privileges, or run containerized workloads where NUMA policy interfaces are exposed may have a wider attack surface. The running kernel must contain commit e341f9c3c8412e57fe0042a33a2640245ecdf619 (which introduced the buggy code path) and must be compiled with NUMA and weighted interleave policy support. The second (more severe) leak requires no special state or timing - the attacker simply writes '1' or 'true' repeatedly. The first leak additionally requires that the current mode already be manual before writing 'false'. Remote exploitation is not possible; AV:L is confirmed by the CVSS vector, and no network-reachable path to this sysfs write handler exists.

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately reflects local exploitation requiring only low-privilege sysfs write access, with high availability impact from kernel memory exhaustion. EPSS of 0.02% (4th percentile) signals minimal observed exploitation activity, and this CVE does not appear in CISA KEV, indicating no confirmed active exploitation. No public exploit code has been identified. Despite these low exploitation signals, the second leak path is mechanically trivial - it requires no race condition, timing, or special state - which makes it operationally more dangerous than EPSS alone suggests on multi-user or container-hosting systems. The 'Information Disclosure' tag from EUVD appears to be a tagging artifact inconsistent with CWE-401 and the CVSS C:N vector; actual impact is availability-only (DoS via OOM). Risk is real but scoped: systems where untrusted local users can write to the weighted interleave sysfs interface are meaningfully exposed; single-user or tightly locked-down systems face minimal practical risk.

Exploit ScenarioDerived

A local user with write access to the weighted interleave sysfs attribute runs a tight shell loop (while true; do echo 1 > /sys/kernel/mm/mempolicy/weighted_interleave/auto; done), triggering the second memory leak on every iteration. Each write causes rcu_assign_pointer() to silently discard the old wi_state kernel heap allocation without freeing it. After sustained looping, the kernel's slab allocator exhausts available memory, invoking the OOM killer and potentially crashing critical system processes or the kernel itself. No public exploit code has been identified, but the attack requires no sophisticated tooling.

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

Two kernel heap memory leaks in Linux kernel's weighted interleave NUMA memory policy subsystem allow a local low-privilege user to exhaust kernel memory and cause denial of service. The weighted_interleave_auto_store() function in mm/mempolicy.c fails to free new_wi_state on an early-return path and fails to free the old state object when overwritten via rcu_assign_pointer() when processing 'true' writes, because old_wi_state is only fetched inside the wrong conditional branch. The second leak is trivially automatable - any authorized sysfs writer can loop-write '1' indefinitely to drive the system into OOM - though no public exploit exists and EPSS sits at a negligible 0.02%.

RemediationAI

Upgrade to Linux kernel 6.18.27, 7.0.4, or 7.1-rc1 or later, which include the one-line fix moving old_wi_state fetch before the input conditional. The upstream stable fix commits are at https://git.kernel.org/stable/c/39caa9ca863f96b3d00447c5aa200cabda489856, https://git.kernel.org/stable/c/6fae274ce0e3109cbbc4c18b354eaace1f0af7d7, and https://git.kernel.org/stable/c/c42a7efb9060d89b72708ffaf255d0002c2164a7; distribution maintainers (Red Hat, Ubuntu, SUSE, Debian) should be consulted for downstream package advisories. Where immediate kernel upgrade is not feasible, restrict write permissions on the weighted interleave sysfs interface (typically under /sys/kernel/mm/mempolicy/weighted_interleave/) to root only using chmod o-w or equivalent DAC controls - this eliminates the attack surface for unprivileged local users but disables their ability to tune NUMA weighted interleave policy, which is an acceptable trade-off for most production workloads. On systems where weighted interleave NUMA policy is not used at all, kernel recompilation without CONFIG_NUMA_BALANCING or the relevant policy option removes the code path entirely, though this is a high-effort mitigation.

Affected VersionsENISA

Linux 6.16
Linux e341f9c3c8412e57fe0042a33a2640245ecdf619 <6fae274ce0e3109cbbc4c18b354eaace1f0af7d7
Linux patch: 6.18.27
Linux patch: 0
Linux e341f9c3c8412e57fe0042a33a2640245ecdf619 <c42a7efb9060d89b72708ffaf255d0002c2164a7
Linux e341f9c3c8412e57fe0042a33a2640245ecdf619 <39caa9ca863f96b3d00447c5aa200cabda489856
Linux patch: 7.1-rc1
Linux patch: 7.0.4

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 mm/mempolicy.c, the Linux kernel's NUMA memory policy subsystem, specifically the sysfs attribute write handler weighted_interleave_auto_store(). CWE-401 (Missing Release of Memory after Effective Lifetime) describes the root cause: two distinct heap allocation paths exit without calling kfree() on previously allocated or replaced kernel objects. In leak path 1, a fresh new_wi_state allocation is made before the input check, but if the user writes 'false' and the current mode is already manual, the function returns early without freeing it. In leak path 2 (the more severe), writing 'true' skips the old_wi_state fetch entirely because that fetch is inside the if (!input) block; rcu_assign_pointer() then overwrites the live pointer with the new state, permanently orphaning the old allocation since the cleanup path is gated on old_wi_state != NULL. The fix (commits 39caa9ca, 6fae274c, c42a7efb) moves old_wi_state fetch unconditionally before the input check. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* from commit e341f9c3c841.

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 5.5 MEDIUM

Local sysfs write access at low privilege suffices to trigger unbounded kernel heap leaks; no confidentiality or integrity impact exists, only availability via OOM.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 3.3 LOW
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.5 LOW

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 - 15:22 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:

mm/mempolicy: fix memory leaks in weighted_interleave_auto_store()

weighted_interleave_auto_store() fetches old_wi_state inside the if (!input) block only. This causes two memory leaks:

  1. When a user writes "false" and the current mode is already manual,

the function returns early without freeing the freshly allocated new_wi_state.

  1. When a user writes "true", old_wi_state stays NULL because the

fetch is skipped entirely. The old state is then overwritten by rcu_assign_pointer() but never freed, since the cleanup path is gated on old_wi_state being non-NULL. A user can trigger this repeatedly by writing "1" in a loop.

Fix both leaks by moving the old_wi_state fetch before the input check, making it unconditional. This also allows a unified early return for both "true" and "false" when the requested mode matches the current mode.

Reviewed by: Donet Tom <donettom@linux.ibm.com>

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Low
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