VDB

CVE-2026-89830

CVE-2026-89830 PUBLISHED

f2fs: fix valid block count leak on data block allocation failure

Reported by linux · Published September 16, 2026

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

EPSS 0.21% · 11.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxdde99df5a9d3b0ca6ac0a86f98799685f7399432, 931e1aa4d44c52ff8e0feb38420a8827c62e886b, 2d50b6d47e5671ff6a25834c5906d443356191f0, 0f9af07ecc1ab486038373db6ae0436c5d674b19

Risk scores

EPSS Score
0.21%
11.0th percentile

Affected products

VendorProductVersions
LinuxLinux7d009e048d7cfcc21d400f2aba4c8bacbdebbd47, 7d009e048d7cfcc21d400f2aba4c8bacbdebbd47, 7d009e048d7cfcc21d400f2aba4c8bacbdebbd47
LinuxLinux6.9, 0, 6.12.110
LinuxLinux7.3, 0, 6.12.110
linuxlinux_kernel6.9, 6.9, 6.9

Timeline

  • Sep 16, 2026 Coalition ESS Score
  • Sep 16, 2026 CVE Published
  • Sep 17, 2026 EPSS Score (12 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89830
vulnetix vdb fixes CVE-2026-89830

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89830/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›