{"id":33299,"date":"2026-10-06T20:31:43","date_gmt":"2026-10-06T12:31:43","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98230"},"modified":"2026-10-06T20:31:43","modified_gmt":"2026-10-06T12:31:43","slug":"cve-2026-98230","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98230","title":{"rendered":"CVE-2026-98230 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: use hlist_del_i"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>xfrm: use hlist_del_init_rcu for state_cache and state_cache_input<\/p>\n<p>Commit 14acf9652e56 (&#8220;xfrm: defensively unhash xfrm_state lists in<br \/>\n__xfrm_state_delete&#8221;) converted bydst\/bysrc\/byseq\/byspi from<br \/>\nhlist_del_rcu() to hlist_del_init_rcu() so that a second<br \/>\n__xfrm_state_delete() on the same object becomes a no-op rather than a<br \/>\nwrite through LIST_POISON pprev. It missed state_cache and<br \/>\nstate_cache_input, which kept hlist_del_rcu():<\/p>\n<p>&#8211; hlist_del_rcu() leaves pprev = LIST_POISON2 (non-NULL), so<br \/>\n  hlist_unhashed() returns false.<br \/>\n&#8211; hlist_del_init_rcu() leaves pprev = NULL, so hlist_unhashed()<br \/>\n  returns true.<\/p>\n<p>A second __xfrm_state_delete() therefore enters __hlist_del() on the<br \/>\nalready-deleted state_cache\/state_cache_input nodes and does<br \/>\nWRITE_ONCE(*pprev, next) through LIST_POISON2 \u2014 a write use-after-free<br \/>\nonce the slab is reused. The corruption can in turn cause a subsequent<br \/>\nhlist_for_each_entry_rcu traversal to follow a dangling next pointer,<br \/>\nproducing the read use-after-free reported in xfrm_input_state_lookup().<\/p>\n<p>Switch state_cache and state_cache_input to hlist_del_init_rcu() to<br \/>\nmatch the other four lists, closing the write use-after-free and, with<br \/>\nit, the read use-after-free it spawns.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>xfrm: use hlist_del_init_rcu for state_cache and state_cache_input<\/p>\n<p>Commit 14acf9652e56 (&#8220;xfrm: defensively unhash xfrm_state lists<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33299","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33299","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=33299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}