Linux Kernel BPF arena_free_pages race allowing arbitrary page free
CVE-2026-143363 Published on December 3, 2026
bpf: Don't let bpf_arena_free_pages() see a half-set user range
In the Linux kernel, the following vulnerability has been resolved:
bpf: Don't let bpf_arena_free_pages() see a half-set user range
If map_extra is 0, the first arena_map_mmap() sets user_vm_start and
user_vm_end. It holds arena->lock, but bpf_arena_free_pages() reads both
fields without this mutex. The kfunc relies on the verifier, which rejects
a prog if user_vm_start of its arena is 0. But this check covers only the
maps in used_maps. The kfunc accepts any trusted pointer to struct bpf_map.
Thus the kfunc can run during arena_map_mmap() and read user_vm_start as 0
and user_vm_end as vma->vm_end. Then min() does not limit page_cnt to the
arena. arena_free_range() unmaps and frees pages of other vmalloc areas.
Read user_vm_start one time and return if it is 0. This value means that no
range is set, because arena_get_unmapped_area() rejects address 0. If only
user_vm_end is still 0, uaddr_end is 0 and the kfunc returns, as today.
Products Associated with CVE-2026-143363
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 317460317a02a1af512697e6e964298dedd8a163 and below 49153a811e95ccaf45b0c0e516f6e20783de8ef1 is affected.
- Version 317460317a02a1af512697e6e964298dedd8a163 and below 52498f14c2d26d67a9bf06998b797900827a06ad is affected.
- Version 6.9 is affected.
- Before 6.9 is unaffected.
- Version 7.3.7, <= 7.3.* is unaffected.
- Version 7.4-rc2, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.