Skip to main content

Linux Kernel EUVDEUVD-2026-32163

| CVE-2026-45837 HIGH
Use After Free (CWE-416)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-5vq6-7cj2-4m9j
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local access with CAP_BPF
  2. Delivery
    Create and mmap BPF arena map
  3. Exploit
    fork() child inherits arena VMA
  4. Install
    munmap parent VMA leaving stale pointer
  5. C2
    Call bpf_arena_free_pages() in child
  6. Execute
    Dangling vml->vma freed in zap_pages
  7. Impact
    Kernel memory corruption enabling escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Requires local access plus the ability to create and operate a BPF arena map (BPF arena was added in kernel 6.9, so older kernels are not exposed), which in practice needs CAP_BPF - limiting realistic attackers to root-adjacent contexts, privileged containers, or environments where unprivileged BPF is enabled. The concrete trigger sequence is: mmap a BPF arena, fork() so the child inherits the arena VMA (the bug is that arena_vm_open fails to register the child VMA), munmap the parent, then invoke bpf_arena_free_pages() from the child to reach the stale vml->vma in zap_pages(). A secondary path is a same-size mremap(MREMAP_FIXED) over the full arena VMA. Limiting factors: no network vector (AV:L), no exploitation against kernels lacking the arena feature, and dependency on BPF privileges/unprivileged-BPF configuration; no user interaction is required (UI:N).

Impact

Signals are consistent and point to a real-but-not-urgent local issue. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H, 7.8 High) correctly reflects a local, low-complexity bug requiring some privilege - in practice creating and mmapping a BPF arena map requires CAP_BPF (and arena allocation typically CAP_PERFMON/admin context), which is a meaningful gate not fully captured by PR:L. EPSS is very low (0.02%, 5th percentile) and the vulnerability is NOT in CISA KEV, with no public POC referenced, so there is no evidence of exploitation in the wild. The high impact triad is plausible because a kernel UAF can be leveraged for memory disclosure or escalation, but weaponizing arena/VMA-lifetime UAFs is non-trivial and depends on heap grooming. Net: prioritize as a standard kernel-update item rather than an emergency. Note the tag 'Information Disclosure' aligns with C:H, though kernel UAFs of this class are more commonly escalation primitives than pure info-leaks - treat the impact characterization as inferred, not confirmed by an exploit.

Exploit ScenarioDerived

A local attacker with BPF capabilities (e.g., inside a misconfigured container granted CAP_BPF, or a low-privileged service account) creates a BPF arena map and mmaps it, then forks; the child inherits the arena VMA whose vml->vma still points at the parent's VMA. The attacker munmaps the parent mapping and has the child call bpf_arena_free_pages(), driving zap_pages() to dereference the freed parent VMA and corrupt kernel memory. No public exploit code is currently identified, and the local-only, low-complexity vector means exploitation does not require user interaction but does require prior local access and BPF privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 26, 2026

Local privilege-escalation-class memory corruption in the Linux kernel's BPF arena subsystem (introduced around 6.9) allows a process holding BPF capabilities to trigger a use-after-free. When a BPF arena VMA is inherited across fork(), arena_vm_open() bumps the mmap refcount but never registers the child VMA in arena->vma_list, leaving vml->vma pointing at the parent VMA; after the parent munmaps, a child call to bpf_arena_free_pages() dereferences the dangling pointer in zap_pages(). No public exploit or active exploitation is identified (EPSS 0.02%, 5th percentile), and vendor patches are available.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 6.12.88, 6.18.30, 7.0.7, or mainline 7.1-rc1 (or your distribution's backported equivalent referencing the upstream commits 201128fcc7b2 / 4fddde2a732d / 723b9fa930cc / d18099f19e53 at git.kernel.org). Where immediate patching is not possible, reduce exposure by restricting who can create BPF arena maps: ensure unprivileged BPF is disabled (sysctl kernel.unprivileged_bpf_disabled=1 or =2), which prevents non-root users from loading the BPF programs needed to reach the arena code path - the trade-off is that legitimate unprivileged BPF workloads (some observability/sandboxing tools) will break. Tightening CAP_BPF/CAP_SYS_ADMIN grants to containers and service accounts is an effective compensating control with minimal side effects for most deployments. Track the advisory at https://vuldb.com/vuln/366053.

Affected VersionsENISA

Linux patch: 0
Linux patch: 6.18.30
Linux 317460317a02a1af512697e6e964298dedd8a163 <4fddde2a732de60bb97e3307d4eb69ac5f1d2b74
Linux 317460317a02a1af512697e6e964298dedd8a163 <d18099f19e53250f8ad2801498b88cec29d9107a
Linux patch: 7.1-rc1
Linux patch: 7.0.7
Linux patch: 6.12.88
Linux 317460317a02a1af512697e6e964298dedd8a163 <723b9fa930cc277c15ce6b9ec9feec828cfac9d7
Linux 317460317a02a1af512697e6e964298dedd8a163 <201128fcc7b213d27ab77bc4e89488b41796480f
Linux 6.9

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 flaw lives in the BPF arena map type (kernel/bpf/arena.c), a shared user/kernel memory region exposed to BPF programs and userspace via mmap. The arena tracks its mappings through a vma_list and a per-mapping vml structure carrying an mmap_count refcount and a vml->vma back-pointer. The vm_ops->open callback (arena_vm_open) is invoked when a VMA is duplicated - notably during fork's copy of the address space - but it only incremented the refcount without inserting the new child VMA into arena->vma_list, so vml->vma kept referencing the original parent VMA. This is a classic CWE-416 use-after-free: once the parent VMA is torn down by munmap, any subsequent operation that walks the stale pointer (here zap_pages() invoked from bpf_arena_free_pages()) reads freed memory. The fix marks the arena VMA VM_DONTCOPY so it is not inherited across fork, adds a may_split callback to block VMA splits, and adds an mremap callback returning -EINVAL to close a same-size mremap(MREMAP_FIXED) path that reached copy_vma() and duplicated vm_private_data. The affected CPE is cpe:2.3:o:linux:linux_kernel across the indicated version ranges.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local-only bug (AV:L) reachable without user interaction by a process with BPF privileges (PR:L); a kernel UAF plausibly yields full memory disclosure, corruption, and crash, so C/I/A:H.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jun 26, 2026 - 19:22 NVD
7.8 (HIGH)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 11:16 nvd
UNKNOWN (no severity yet)
CVE Published
May 27, 2026 - 11:16 nvd
HIGH 7.8

DescriptionNVD

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

bpf: Fix use-after-free in arena_vm_close on fork

arena_vm_open() only bumps vml->mmap_count but never registers the child VMA in arena->vma_list. The vml->vma always points at the parent VMA, so after parent munmap the pointer dangles. If the child then calls bpf_arena_free_pages(), zap_pages() reads the stale vml->vma triggering use-after-free.

Fix this by preventing the arena VMA from being inherited across fork with VM_DONTCOPY, and preventing VMA splits via the may_split callback.

Also reject mremap with a .mremap callback returning -EINVAL. A same-size mremap(MREMAP_FIXED) on the full arena VMA reaches copy_vma() through the following path:

check_prep_vma() - returns 0 early: new_len old_len skips VM_DONTEXPAND check prep_move_vma() - vm_start old_addr and vm_end == old_addr + old_len so may_split is never called move_vma() copy_vma_and_data() copy_vma() vm_area_dup() - copies vm_private_data (vml pointer) vm_ops->open() - bumps vml->mmap_count vm_ops->mremap() - returns -EINVAL, rollback unmaps new VMA

The refcount ensures the rollback's arena_vm_close does not free the vml shared with the original VMA.

Executive ViewAI

Why It Matters

CVE-2026-45837 is a local privilege-escalation vulnerability in the Linux kernel's BPF arena subsystem affecting versions 6.9 and later. An attacker with local access and BPF capabilities can trigger memory corruption to elevate privileges; this poses risk to systems running containerized workloads, cloud infrastructure, or permissive BPF policies. A vendor patch is available, making this immediately remediable.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigation: disable unprivileged BPF if operationally feasible (sysctl kernel.unprivileged_bpf_disabled=1) or restrict BPF capabilities to trusted processes only via AppArmor/SELinux policies; monitor kernel logs for BPF-related errors or memory faults.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel runs on a huge fraction of servers and devices worldwide
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

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