{"id":29194,"date":"2026-09-25T20:32:06","date_gmt":"2026-09-25T12:32:06","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98039"},"modified":"2026-09-25T20:32:06","modified_gmt":"2026-09-25T12:32:06","slug":"cve-2026-98039","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98039","title":{"rendered":"CVE-2026-98039 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Require MEM_PERC"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Require MEM_PERCPU for percpu kptr stores<\/p>\n<p>map_kptr_match_type() treats perm_flags as the set of register type flags<br \/>\nthat a kptr field permits. Adding MEM_PERCPU to that set for<br \/>\nBPF_KPTR_PERCPU does not require the source register to carry it, however.<br \/>\nThe subset test consequently accepts both a plain bpf_obj_new() allocation<br \/>\nand a referenced kernel pointer into a __percpu_kptr map field.<\/p>\n<p>Loads from the field are always marked MEM_PERCPU. Consumers then treat the<br \/>\nstored value as the cookie returned by bpf_percpu_obj_new(): per-CPU pointer<br \/>\nhelpers relocate it, and map teardown selects the per-CPU free path. A plain<br \/>\nallocation can therefore provide an arbitrary kernel read\/write, while a<br \/>\nkernel pointer can be relocated into an invalid address or sent through a<br \/>\nmissing destructor.<\/p>\n<p>Require the source MEM_PERCPU flag to match the destination field kind.<br \/>\nThis preserves valid bpf_percpu_obj_new() stores and rejects both the<br \/>\nprogram-BTF and kernel-BTF variants.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Require MEM_PERCPU for percpu kptr stores<\/p>\n<p>map_kptr_match_type() treats perm_flags as the set of register type flags<br \/>\nthat a kp<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29194","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}