{"id":29219,"date":"2026-09-25T20:32:10","date_gmt":"2026-09-25T12:32:10","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98064"},"modified":"2026-09-25T20:32:10","modified_gmt":"2026-09-25T12:32:10","slug":"cve-2026-98064","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98064","title":{"rendered":"CVE-2026-98064 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix NULL-ptr-der"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Fix NULL-ptr-deref when showing a void BTF type<\/p>\n<p>btf_modifier_show() resolves the modifier and then calls<br \/>\nbtf_type_ops(t)-&gt;show() unconditionally. For the void type (type_id 0,<br \/>\nBTF_KIND_UNKN) kind_ops[] has no entry, so -&gt;show is NULL.<\/p>\n<p>A &#8220;const void&#8221; (a modifier resolving to void) cannot be a map key or<br \/>\nvalue &#8211; map_check_btf() rejects it because void has no size &#8211; so the map<br \/>\ndump path does not reach it. But bpf_snprintf_btf() takes a type_id<br \/>\nstraight from the BPF program, and passing such a &#8220;const void&#8221; from the<br \/>\nvmlinux BTF NULL-derefs:<\/p>\n<p>KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]<br \/>\nRIP: 0010:btf_modifier_show (kernel\/bpf\/btf.c:2914)<br \/>\nCall Trace:<\/p>\n<p> btf_type_show (kernel\/bpf\/btf.c:8251)<br \/>\n btf_type_snprintf_show (kernel\/bpf\/btf.c:8321)<br \/>\n bpf_snprintf_btf (kernel\/trace\/bpf_trace.c:1047)<br \/>\n bpf_prog_test_run_raw_tp (net\/bpf\/test_run.c:829)<br \/>\n __sys_bpf (kernel\/bpf\/syscall.c:4804)<br \/>\n do_syscall_64 (arch\/x86\/entry\/syscall_64.c:94)<br \/>\n entry_SYSCALL_64_after_hwframe (arch\/x86\/entry\/entry_64.S:121)<\/p>\n<p>Fall back to btf_df_show() when the resolved type has no show op; it<br \/>\nemits the &#8220;&#8221; placeholder already used for kinds like<br \/>\nFWD and FUNC. bpf_snprintf_btf() then returns the length as usual.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Fix NULL-ptr-deref when showing a void BTF type<\/p>\n<p>btf_modifier_show() resolves the modifier and then calls<br \/>\nbtf_type_ops(t)-&gt;sho<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29219","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29219","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=29219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}