{"id":29230,"date":"2026-09-25T20:32:12","date_gmt":"2026-09-25T12:32:12","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98075"},"modified":"2026-09-25T20:32:12","modified_gmt":"2026-09-25T12:32:12","slug":"cve-2026-98075","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98075","title":{"rendered":"CVE-2026-98075 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: reject BPF_PSEUD"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: reject BPF_PSEUDO_FUNC reference to the main program<\/p>\n<p>fixups.c:jit_subprogs() rewrites BPF_PSEUDO_FUNC loads to contain real<br \/>\nfunction addresses. This function is invoked from bpf_jit_subprogs()<br \/>\nonly when env-&gt;subprog_cnt &gt; 1. Meaning that for any program like<br \/>\nbelow:<\/p>\n<p>  int main(void *ctx) {<br \/>\n    void *ptr = main;<br \/>\n    &#8230;<br \/>\n    bpf_timer_set_callback(&#8230;, ptr);<br \/>\n    &#8230;<br \/>\n  }<\/p>\n<p>The &#8216;ptr&#8217; won&#8217;t be ever converted to contain an address.<br \/>\nIn combination with e.g. bpf_timer_set_callback() this would lead to a<br \/>\nfunction call at a bogus address.<\/p>\n<p>Instead of complicating the implementation, just assume that no useful<br \/>\nprogram needs main to be a sync or async callback and reject<br \/>\nBPF_PSEUDO_FUNC loads for the main subprogram.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: reject BPF_PSEUDO_FUNC reference to the main program<\/p>\n<p>fixups.c:jit_subprogs() rewrites BPF_PSEUDO_FUNC loads to contain real<br \/>\nf<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29230","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29230","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=29230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}