{"id":41260,"date":"2026-10-19T00:32:52","date_gmt":"2026-10-18T16:32:52","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98788"},"modified":"2026-10-19T00:32:52","modified_gmt":"2026-10-18T16:32:52","slug":"cve-2026-98788","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98788","title":{"rendered":"CVE-2026-98788 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nfutex: Fix private ha"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>futex: Fix private hash use-after-free on resize<\/p>\n<p>poll_state_synchronize_rcu(mm-&gt;futex.phash.batches) is used by<br \/>\nfutex_ref_drop() to check that a grace period has passed since the<br \/>\ncurrent hash was published. This relies on batches referencing a grace<br \/>\nperiod which started after the hash pointer was assigned.<\/p>\n<p>__futex_pivot_hash() sets mmph-&gt;batches before it replaces mmph-&gt;hash:<\/p>\n<p>    scoped_guard(rcu) {<br \/>\n            mmph-&gt;batches = get_state_synchronize_rcu();<br \/>\n            rcu_assign_pointer(mmph-&gt;hash, new);<br \/>\n    }<\/p>\n<p>The scoped_guard(rcu) doesn&#8217;t stop new grace periods from starting, and<br \/>\nif one starts between those two assignments, futex_ref_drop() can move<br \/>\nforward while a reader still holds a pointer to the old hash.<\/p>\n<p>Fix things by setting mmph-&gt;batches after assigning mmph-&gt;hash.  The<br \/>\nscoped_guard(rcu) isn&#8217;t needed, so let&#8217;s drop that as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>futex: Fix private hash use-after-free on resize<\/p>\n<p>poll_state_synchronize_rcu(mm-&gt;futex.phash.batches) is used by<br \/>\nfutex_ref_drop() t<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41260","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41260","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=41260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}