7.8

CVE-2026-45837: bpf: Fix use-after-free in arena_vm_close on fork

Analyzed
AliasesUBUNTU-CVE-2026-45837DEBIAN-CVE-2026-45837
Published 27-05-2026Last modified 14-06-2026

Vulnerability summary

CVE-2026-45837 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.12%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 17 · Related 17

Timeline

  1. 27-05-2026
    PublishedVulnerability first disclosed.
  2. 14-06-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.12%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.17% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu118 products
  • linuxAll versions (No fix recorded) | < 7.0.0-28.28
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 7.0.0-1009.9
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 317460317a02a1af512697e6e964298dedd8a163, < 723b9fa930cc277c15ce6b9ec9feec828cfac9d7 | ≥ 317460317a02a1af512697e6e964298dedd8a163, < d18099f19e53250f8ad2801498b88cec29d9107a | ≥ 317460317a02a1af512697e6e964298dedd8a163, < 201128fcc7b213d27ab77bc4e89488b41796480f | ≥ 317460317a02a1af512697e6e964298dedd8a163, < 4fddde2a732de60bb97e3307d4eb69ac5f1d2b74 | 6.9
  • linux_kernel≥ 6.9, < 6.12.88 | ≥ 6.13, < 6.18.30 | ≥ 6.19, < 7.0.7
Debian1 product
  • linux< 6.12.88-1 | < 7.0.7-1

3 vendors · 121 products

References

19 links
Show all 19 references