CVE-2026-89830

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/09/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> f2fs: fix valid block count leak on data block allocation failure<br /> <br /> In __allocate_data_block(), when allocating a new data block<br /> (dn-&gt;data_blkaddr == NULL_ADDR), inc_valid_block_count() is<br /> called first to increment total_valid_block_count and i_blocks.<br /> If the subsequent f2fs_allocate_data_block() fails, the function<br /> returns the error directly without rolling back the<br /> already-incremented block counts, causing a permanent leak.<br /> <br /> Fix this by calling dec_valid_block_count() to undo the<br /> increment before returning the error. The condition<br /> old_blkaddr == NULL_ADDR precisely identifies the case where<br /> inc_valid_block_count() was called.

Impact