{"id":"CVE-2026-143363","summary":"bpf: Don't let bpf_arena_free_pages() see a half-set user range","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't let bpf_arena_free_pages() see a half-set user range\n\nIf map_extra is 0, the first arena_map_mmap() sets user_vm_start and\nuser_vm_end. It holds arena-\u003elock, but bpf_arena_free_pages() reads both\nfields without this mutex. The kfunc relies on the verifier, which rejects\na prog if user_vm_start of its arena is 0. But this check covers only the\nmaps in used_maps. The kfunc accepts any trusted pointer to struct bpf_map.\n\nThus the kfunc can run during arena_map_mmap() and read user_vm_start as 0\nand user_vm_end as vma-\u003evm_end. Then min() does not limit page_cnt to the\narena. arena_free_range() unmaps and frees pages of other vmalloc areas.\n\nRead user_vm_start one time and return if it is 0. This value means that no\nrange is set, because arena_get_unmapped_area() rejects address 0. If only\nuser_vm_end is still 0, uaddr_end is 0 and the kfunc returns, as today.","modified":"2026-12-03T11:02:07.609068432Z","published":"2026-12-03T09:22:16.226Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143363.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/49153a811e95ccaf45b0c0e516f6e20783de8ef1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52498f14c2d26d67a9bf06998b797900827a06ad"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143363.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143363"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"317460317a02a1af512697e6e964298dedd8a163"},{"fixed":"49153a811e95ccaf45b0c0e516f6e20783de8ef1"},{"fixed":"52498f14c2d26d67a9bf06998b797900827a06ad"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143363.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143363.json"}}],"schema_version":"1.9.2"}