CVE-2026-45837
Use-After-Free in Linux Kernel BPF Arena
Publication date: 2026-05-27
Last updated on: 2026-05-27
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free issue in the Linux kernel's BPF subsystem related to memory management during process forking.
Specifically, when a process forks, the child process inherits a pointer (vml->vma) that still points to the parent's virtual memory area (VMA). If the parent process unmaps this memory, the child's pointer becomes stale or dangling.
If the child then calls bpf_arena_free_pages(), the system reads from this stale pointer, triggering a use-after-free condition.
The fix involves preventing the arena VMA from being inherited across fork using VM_DONTCOPY, preventing VMA splits via the may_split callback, and rejecting certain memory remap operations that could cause rollback issues.
How can this vulnerability impact me? :
This use-after-free vulnerability can lead to undefined behavior in the kernel, including potential memory corruption or system crashes.
Exploitation of this flaw could allow an attacker to execute arbitrary code with kernel privileges or cause denial of service by crashing the system.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability has been resolved by preventing the arena VMA from being inherited across fork with VM_DONTCOPY and preventing VMA splits via the may_split callback.
To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.