{"id":21577,"date":"2026-09-12T04:31:22","date_gmt":"2026-09-11T20:31:22","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89655"},"modified":"2026-09-12T04:31:22","modified_gmt":"2026-09-11T20:31:22","slug":"cve-2026-89655","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89655","title":{"rendered":"CVE-2026-89655 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix UAF in __ki"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ceph: fix UAF in __kick_flushing_caps() on cf entry freed during unlock<\/p>\n<p>list_for_each_entry() iterates ci-&gt;i_cap_flush_list but drops<br \/>\ni_ceph_lock to send cap messages.  During the unlock window,<br \/>\nhandle_cap_flush_ack() can acquire i_ceph_lock, detach cf entries<br \/>\nwith tid i_list.next<br \/>\non freed memory.<\/p>\n<p>The race timeline:<\/p>\n<p>  __kick_flushing_caps()              handle_cap_flush_ack()<br \/>\n  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;             &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n  holds i_ceph_lock        &lt;&#8212;<br \/>\n  iterates to cf (tid=10)<br \/>\n  prepares FLUSH message<br \/>\n  drops i_ceph_lock               acquires i_ceph_lock<br \/>\n                                      cf-&gt;tid(10) &lt;= flush_tid(10),<br \/>\n                                      detaches cf from i_cap_flush_list<br \/>\n                                      drops i_ceph_lock<br \/>\n                                      ceph_free_cap_flush(cf) &lt;- frees it!<br \/>\n  acquires i_ceph_lock     i_list.next<\/p>\n<p>The cf was just sent by __kick_flushing_caps itself via __send_cap().<br \/>\nThe MDS may respond with FLUSH_ACK quickly enough that<br \/>\nhandle_cap_flush_ack() frees cf before __kick_flushing_caps can<br \/>\nfinish the iteration.<\/p>\n<p>Fix by converting to a manual while loop: save the next pointer<br \/>\nunder i_ceph_lock before dropping it, then use the saved pointer<br \/>\nafter reacquiring, so the potentially-freed cf is never accessed again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ceph: fix UAF in __kick_flushing_caps() on cf entry freed during unlock<\/p>\n<p>list_for_each_entry() iterates ci-&gt;i_cap_flush_list but dr<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21577","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21577","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=21577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}