{"id":29192,"date":"2026-09-25T20:32:06","date_gmt":"2026-09-25T12:32:06","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98037"},"modified":"2026-09-25T20:32:06","modified_gmt":"2026-09-25T12:32:06","slug":"cve-2026-98037","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98037","title":{"rendered":"CVE-2026-98037 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject untrusted"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Reject untrusted allocated-object pointers<\/p>\n<p>When the final RCU read-side critical section ends, a local kptr is demoted<br \/>\nto PTR_UNTRUSTED but retains MEM_ALLOC. The pointer may be NULL or may refer<br \/>\nto an object whose lifetime is no longer protected.<\/p>\n<p>type_is_ptr_alloc_obj() nevertheless recognizes any PTR_TO_BTF_ID with<br \/>\nMEM_ALLOC as a live allocated object. In particular, a refcount-only local<br \/>\nkptr never carries NON_OWN_REF, so it still passes the<br \/>\nbpf_refcount_acquire() argument check after RCU protection ends. The kfunc<br \/>\ncan then dereference NULL or stale memory.<\/p>\n<p>Make type_is_ptr_alloc_obj() reject PTR_UNTRUSTED pointers. Since<br \/>\ntype_is_non_owning_ref() is based on the same predicate, graph kfunc<br \/>\narguments obey the same live-object requirement. Fault-protected reads of<br \/>\nthe demoted pointer remain valid: writes are already rejected, and read<br \/>\nfixups use bpf_may_fault_on_deref() rather than this predicate.<\/p>\n<p>[ kkd: Rewrote commit log ]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Reject untrusted allocated-object pointers<\/p>\n<p>When the final RCU read-side critical section ends, a local kptr is demoted<br \/>\nto PTR<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29192","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29192","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=29192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}