VDB

CVE-2026-89841

CVE-2026-89841 PUBLISHED CVSS 7.8 HIGH

f2fs: only redirty pinned folios in redirty_blocks

Reported by linux · Published September 16, 2026

In the Linux kernel, the following vulnerability has been resolved: f2fs: only redirty pinned folios in redirty_blocks redirty_blocks() pins folios with read_cache_folio() and then walks the same range again with filemap_lock_folio() to redirty them and drop the references it took. Commit 5951fee46bef ("f2fs: Use a folio in redirty_blocks()") changed the second pass to a do/while loop. If read_cache_folio() fails before anything is pinned, page_idx does not advance but the cleanup loop still runs once. If readahead has already populated the failed folio in page cache, that extra iteration finds it and folio_put_refs(folio, 2) drops one reference too many. Later drop_caches or reclaim can then report "BUG: Bad page state". Only redirty the range that was pinned successfully.

EPSS 0.17% · 6.9th percentile

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.17%
6.9th percentile

Affected products

VendorProductVersions
LinuxLinux5951fee46befbf6176c86482432f4f76e522f16c, 5951fee46befbf6176c86482432f4f76e522f16c, 5951fee46befbf6176c86482432f4f76e522f16c
LinuxLinux6.16, 0, 6.18.51
linuxlinux_kernel6.16, 6.16, 6.16
LinuxLinux5951fee46befbf6176c86482432f4f76e522f16c, 5951fee46befbf6176c86482432f4f76e522f16c, 5951fee46befbf6176c86482432f4f76e522f16c

Timeline

  • Sep 16, 2026 Coalition ESS Score
  • Sep 16, 2026 CVE Published
  • Sep 17, 2026 EPSS Score (8 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-89841
vulnetix vdb fixes CVE-2026-89841

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-89841/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 ›