CVE-2024-42075Published Jul 29, 2024 · Jul 29Updated Oct 28
bpf: Fix remap of arena.
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix remap of arena.
The bpf arena logic didn't account for mremap operation. Add a refcnt for multiple mmap events to prevent use-after-free in arena_vm_close.
From the CVE record · Linux
Linux kernel BPF arena logic did not account for mremap operations, allowing a use-after-free in arena_vm_close when arena mappings are remapped. The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with BPF arena support should check their versions; affected versions are not specified.