{"id":24517,"date":"2026-09-16T20:32:25","date_gmt":"2026-09-16T12:32:25","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89830"},"modified":"2026-09-16T20:32:25","modified_gmt":"2026-09-16T12:32:25","slug":"cve-2026-89830","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89830","title":{"rendered":"CVE-2026-89830 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix valid block"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>f2fs: fix valid block count leak on data block allocation failure<\/p>\n<p>In __allocate_data_block(), when allocating a new data block<br \/>\n(dn-&gt;data_blkaddr == NULL_ADDR), inc_valid_block_count() is<br \/>\ncalled first to increment total_valid_block_count and i_blocks.<br \/>\nIf the subsequent f2fs_allocate_data_block() fails, the function<br \/>\nreturns the error directly without rolling back the<br \/>\nalready-incremented block counts, causing a permanent leak.<\/p>\n<p>Fix this by calling dec_valid_block_count() to undo the<br \/>\nincrement before returning the error. The condition<br \/>\nold_blkaddr == NULL_ADDR precisely identifies the case where<br \/>\ninc_valid_block_count() was called.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>f2fs: fix valid block count leak on data block allocation failure<\/p>\n<p>In __allocate_data_block(), when allocating a new data block<br \/>\n(dn<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24517","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24517","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=24517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}