{"id":21567,"date":"2026-09-12T04:31:21","date_gmt":"2026-09-11T20:31:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89645"},"modified":"2026-09-12T04:31:21","modified_gmt":"2026-09-11T20:31:21","slug":"cve-2026-89645","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89645","title":{"rendered":"CVE-2026-89645 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: drop recovered"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>btrfs: drop recovered reloc root refs on recovery failure<\/p>\n<p>During relocation recovery, each fs root gets a reference to its relocation<br \/>\nroot. If loading or adding a later root fails, or if the first transaction<br \/>\ncommit fails, btrfs_recover_relocation() jumps to out_unset before<br \/>\nmerge_reloc_roots() and clean_dirty_subvols().<\/p>\n<p>put_reloc_control() drops the list-owned relocation root references, but it<br \/>\ndoes not clear fs_root-&gt;reloc_root or drop the references owned by those<br \/>\npointers. Mount cleanup only drops them when BTRFS_FS_ERROR is set, so an<br \/>\nerror such as -ENOMEM while processing a later root can leave references<br \/>\nbehind.<\/p>\n<p>Keep temporary references to the fs roots associated during recovery. On<br \/>\nfailure, clear their reloc_root pointers and drop the corresponding<br \/>\nreferences. Once the first transaction commit succeeds, drop only the<br \/>\ntemporary fs root references and let the normal merge and cleanup paths<br \/>\nhandle the relocation roots.<\/p>\n<p>Fault injection on a pending-relocation image confirmed the cleanup gap.<br \/>\nWith an injected first-commit failure, 25 fs roots had reloc_root set with<br \/>\nfs_error=0. With this fix, the same failure path drops that count to 0<br \/>\nbefore mount fails.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>btrfs: drop recovered reloc root refs on recovery failure<\/p>\n<p>During relocation recovery, each fs root gets a reference to its relocat<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21567","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21567","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=21567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}