Skip to main content

Linux Kernel CVE-2026-64525

| EUVDEUVD-2026-49037 MEDIUM
Memory Leak (CWE-401)
2026-07-25 Linux GHSA-phmc-55j6-972r
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local account with netns-creation rights
  2. Delivery
    Loop unshare(CLONE_NEWNET) at high rate
  3. Exploit
    Stall cleanup_net on serialized per-netns synchronize_rcu()
  4. Execution
    Accumulate struct net and percpu memory
  5. Impact
    Trigger host-wide OOM denial of service

Vulnerability Assessment

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

Requires local ability to repeatedly create and destroy network namespaces via unshare(CLONE_NEWNET) on a host running an affected kernel with the xfrm/IPsec policy subsystem compiled in; impact scales with sustained high-rate namespace churn (described at ~13/sec) and with CPU count, since percpu allocations per namespace amplify the blowup (130+ GB on 256-CPU hosts). Limiting factors per the CVSS vector: it is not remotely reachable (AV:L) and needs privileges to create namespaces (PR:L) - on hardened systems that disable unprivileged user/network namespaces this requires elevated rights, which meaningfully reduces exposure; impact is availability-only (host OOM), with no path to data disclosure or code execution.

Impact

This is a medium-severity local availability bug, not a confidentiality threat. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, 5.5) describes a locally-triggered denial of service with no disclosure or integrity impact, which matches the description: serialized synchronize_rcu() in xfrm_policy_fini() runs once per netns in the .exit handler, so high-rate namespace churn stalls cleanup_net(), accumulates struct net, and balloons percpu memory until memcg OOMs. EPSS is low (0.21%, 11th percentile) and the issue is not in CISA KEV; no exploit code is referenced. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a reliability defect rather than an urgent security emergency. Real risk is concentrated on large multi-tenant / high-CPU-count hosts (130+ GB percpu observed on 256-CPU systems) where unprivileged or semi-privileged workloads can rapidly create and destroy network namespaces - e.g. container platforms allowing unprivileged user/network namespaces. Signal conflict to flag: the input Tags include 'Information Disclosure', which directly contradicts the C:N/I:N/A:H vector - there is no disclosure here; the tag appears mislabeled. The affected-version list is also malformed (entries such as 'patch: 0' and 'patch: 7.0.12'), so specific version boundaries should be verified against the kernel.org stable commits.

Exploit ScenarioDerived

A local user or container workload able to create network namespaces runs a tight loop of unshare(CLONE_NEWNET) (the description cites ~13/sec sustained). Because each namespace teardown pays a full RCU grace period serially in xfrm_policy_fini(), cleanup_net() and the netns_wq rescuer stall, struct net objects pile up by the hundreds of thousands and percpu memory climbs into the tens-to-hundreds of GB until the host OOMs. No public exploit is referenced, but the reproducer is simply the described workload.

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

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Sustained high-rate creation and destruction of network namespaces can exhaust host memory in affected Linux kernels because the xfrm/IPsec policy teardown path blocks on RCU synchronization once per namespace, serializing cleanup_net() work and letting kernel memory accumulate. Only local users able to call unshare(CLONE_NEWNET) on a kernel with the xfrm policy subsystem built in are positioned to trigger it (CVSS AV:L/PR:L), and the reported consequence is availability loss through memory growth - on 256-CPU hosts percpu accounting reportedly climbed past 130 GB with over 300k struct net queued, ending in memcg OOM kills - with no disclosed confidentiality or integrity impact. No public exploit code has been identified at time of analysis, EPSS is low at 0.21% (11th percentile), and the issue is not in CISA KEV; the priority label is this_month and vendor fixes are available.

RemediationAI

Vendor-released patch: kernel 6.18.35, 6.12.93, 7.0.12 and 7.1, delivered through the stable commits referenced above; the upstream fix splits the xfrm policy flush into .pre_exit and frees policy_bydst in .exit, so the addressable fix is to update to one of those versions or to your distribution's patched kernel build - Ubuntu users should apply USN-8618-1 (https://ubuntu.com/security/notices/USN-8618-1), and other vendors' advisories should be checked for backported equivalents. Because the trigger requires the ability to repeatedly create and destroy network namespaces, exposure is reduced on systems that do not grant namespace creation to untrusted local users - as noted in the assessment, disabling unprivileged user/network namespaces raises the privilege bar, at the cost of breaking rootless containers and unprivileged sandboxes that depend on those namespaces. Where namespace creation must remain available, the practical interim control is to limit who can perform it and to monitor cleanup_net()/netns workqueue stalls, percpu growth in /proc/meminfo and rising struct net counts rather than relying on those signals as a preventive fix.

Affected VersionsENISA

Linux 33a3149dd81a1e2f52b80ee1e0fc380b39f3d028
Linux patch: 7.0.12
Linux patch: 0
Linux 069daad4f2ae9c5c108131995529d5f02392c446 <d14ae8ef88c2c6590e107db61b6adce148cec7b3
Linux 6.18.24 <6.18.35
Linux 7.0
Linux 069daad4f2ae9c5c108131995529d5f02392c446 <3e52417318473782012b236d0325bf7d2266a597
Linux b66920a3348c0f63ba18365248fa21fbf0b3a937
Linux patch: 6.12.93
Linux 6.12.83 <6.12.93
Linux 6.6.136 <6.7
Linux patch: 6.18.35
Linux 3733fce2871c9bca9dd18a1a23b1432ea215a094 <91cc13978ab0bc6f669139f53e7e613a860d10e0
Linux 6.19.14 <6.20
Linux 438b1f668ad58f46ce699bb48e4698a7839e3f9e <bca6386dc08750fc7cdcbc7683473748ba3114b9
Linux patch: 7.1

Affected Packages

euvd linux fix: 6.7, 6.12.93, 6.18.35, 6.20

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 flaw sits in the per-network-namespace teardown machinery of the Linux networking stack. pernet_operations handlers registered for a namespace run in two phases, and the docstring in include/net/net_namespace.h warns that blocking RCU primitives such as synchronize_rcu() belong in exit_batch or, at minimum, be split across pre_exit() and exit() because cleanup_net() guarantees a grace period between those calls. xfrm_policy_fini() instead called synchronize_rcu() from xfrm_net_ops.exit so that no RCU reader could be mid-traversal of the policy_bydst hash tables when they were freed; because .exit runs once per namespace, tearing down N namespaces cost N full grace periods serially. The fix moves the policy flush and the dependent workqueue drains into a new .pre_exit handler, leaving xfrm_policy_fini() to free the hash tables in .exit after the synchronize_rcu_expedited() that cleanup_net() already provides, converting O(N) grace periods into O(1) per batch. The CWE-401 classification reflects the unbounded memory retention that follows from the stalled teardown - struct net objects piling up in the cleanup queue and percpu allocations growing. The trigger described in the source is namespace churn (reported at roughly 13 unshare(CLONE_NEWNET) calls per second) on an affected kernel; finer-grained conditions beyond that are not described in the available sources.

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 trigger via namespace creation (AV:L), no special timing needed (AC:L), requires privilege to create netns (PR:L), and impact is host OOM denial of service only (C:N/I:N/A:H).

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
Red Hat 7.0 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
Nov 17, 2026 - 20:22 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 09:20 nvd
MEDIUM 5.5
CVE Published
Jul 25, 2026 - 09:20 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

xfrm: move policy_bydst RCU sync from per-netns .exit to .pre_exit

The struct pernet_operations docstring in include/net/net_namespace.h explicitly warns against blocking RCU primitives in .exit handlers:

Exit methods using blocking RCU primitives, such as synchronize_rcu(), should be implemented via exit_batch. [...] Please, avoid synchronize_rcu() at all, where it's possible.

Note that a combination of pre_exit() and exit() can be used, since a synchronize_rcu() is guaranteed between the calls.

xfrm_policy_fini() violates this: it calls synchronize_rcu() before freeing the policy_bydst hash tables (so no RCU reader is mid- traversal at free time), but runs from xfrm_net_ops.exit -- once per namespace -- so a cleanup_net() of N namespaces pays N full RCU grace periods serially.

Use the documented pre_exit/exit split. Move the policy flush (and the workqueue drains it depends on) into a new .pre_exit handler; xfrm_policy_fini() then runs in .exit and frees the hash tables after the synchronize_rcu_expedited() that cleanup_net() guarantees between the two phases. Providing O(1) RCU grace periods per batch instead of O(N).

Observed on Linux 6.18 with a workload doing unshare(CLONE_NEWNET) at ~13/sec sustained: cleanup_net() and the netns_wq rescuer kthread both stuck in xfrm_policy_fini()'s synchronize_rcu(), >300k struct net accumulated in the cleanup queue, Percpu in /proc/meminfo climbed to 130+ GB on 256-CPU hosts, and memcg OOMs followed. setup_net and __put_net counts were balanced, ruling out a refcount leak.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel, present in virtually all server and container hosts
Data Quality
5 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.2%
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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

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