{"id":29191,"date":"2026-09-25T20:32:06","date_gmt":"2026-09-25T12:32:06","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98036"},"modified":"2026-09-25T20:32:06","modified_gmt":"2026-09-25T12:32:06","slug":"cve-2026-98036","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98036","title":{"rendered":"CVE-2026-98036 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Preserve special"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Preserve special fields in recycled rhtab elements<\/p>\n<p>rhtab_map_update_elem() initializes special fields after obtaining an<br \/>\nelement from bpf_mem_cache_alloc(). The allocator can return a fresh,<br \/>\nzeroed unit, or recycle one from its RCU-pending lists before the<br \/>\nregistered destructor has run.<\/p>\n<p>A BPF program can retain a map-value pointer after deleting its element<br \/>\nand initialize and arm a timer through that pointer. If the deleted unit<br \/>\nis recycled, check_and_init_map_value() clears the only pointer to the<br \/>\ntimer. Neither a later deletion nor rhtab_mem_dtor() can then cancel it,<br \/>\nand the callback can run with its key and value pointing into freed memory.<\/p>\n<p>Do not reinitialize special fields on insertion. Fresh allocator units are<br \/>\nalready zeroed. For recycled units, the special fields are ownership state<br \/>\nthat must remain visible to the eventual destructor. copy_map_value()<br \/>\nalready skips those fields, matching the non-preallocated hash-map path and<br \/>\nthe lifecycle established by commit 275c30bcee66 (&#8220;bpf: Don&#8217;t reinit map<br \/>\nvalue in prealloc_lru_pop&#8221;).<\/p>\n<p>[ kkd: Split out the fix and rewrote the commit log ]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Preserve special fields in recycled rhtab elements<\/p>\n<p>rhtab_map_update_elem() initializes special fields after obtaining an<br \/>\nelem<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29191","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29191","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=29191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}