EN
FREN
CVE-2026-99570, f2fs: fix to invalidate curseg if change_curseg() fails
-score not published

CVE-2026-99570 : Linux

CVE-2026-99570 · published on November 20, 2026 at 05:49 · updated on November 20, 2026 at 05:49

7days since publication
linux

What this vulnerability allows, plainly. Privilege escalation, with no account at all, from the internet. The attacker gains rights they did not have.

In practice, for a business:

  • an ordinary account becomes an administrator account
  • access to orders and data of every other account
  • logs wiped, so no immediate evidence

This software is not part of the general network we measure: it lives on workstations, internal servers or appliances that are not reachable from the internet, unless their port is publicly exposed. That is exactly when exposure becomes real, and it is what we check as soon as a version is readable from outside.

What is the CVE-2026-99570 vulnerability ?

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to invalidate curseg if change_curseg() fails Our consistency stress test (fsstress + fio + atomic write workers + "f2fs_io shutdown 1") triggers below kernel BUG: F2FS-fs (vdd): Stopped filesystem due to reason: 0 ------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:3989! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI Workqueue: writeback wb_workfn (flush-253:48) RIP: 0010:f2fs_allocate_data_block+0x257a/0x38e0 Call Trace: do_write_block+0x155/0xc10 f2fs_outplace_write_data+0x192/0x340 f2fs_do_write_data_page+0xc57/0x1880 f2fs_write_single_data_page+0xda9/0x15a0 f2fs_write_cache_pages+0x973/0x1f20 __f2fs_write_data_pages+0x6c4/0x1890 do_writepages+0x21e/0x560 __writeback_single_inode+0x119/0x11b0 writeback_sb_inodes+0x67d/0x17a0 wb_writeback+0x207/0x820 wb_workfn+0x128/0xc30 process_one_work+0x925/0x1600 worker_thread+0x60a/0xff0 kthread+0x35f/0x460 ret_from_fork+0x474/0x7e0 ret_from_fork_asm+0x1a/0x30 The BUG is f2fs_bug_on(sbi, curseg->next_blkoff >= BLKS_PER_SEG(sbi)) in f2fs_allocate_data_block(), next_blkoff was 512. The root cause is a race in between atomic write commit and shutdown as below: Thread A (commit atomic write) Thread B (shutdown) Thread C (writeback) - f2fs_ioc_commit_atomic_write - f2fs_commit_atomic_write - __f2fs_commit_atomic_write - __replace_atomic_write_block - f2fs_replace_block - __f2fs_replace_block - f2fs_ioc_shutdown - f2fs_do_shutdown : F2FS_GOING_DOWN_METASYNC - f2fs_sync_fs - f2fs_write_single_data_page : pass f2fs_cp_error() check - f2fs_stop_checkpoint : set CP_ERROR_FLAG - change_curseg - reset_curseg : curseg->segno = new_segno : curseg->alloc_type = SSR : curseg->next_blkoff = __next_free_blkoff() which is BLKS_PER_SEG if there is no free slot in new_segno - f2fs_get_sum_cache : return -EIO due to f2fs_cp_error() : return error w/o restoring curseg : goto out_unlock, skip restoring old segno, blkoff and alloc_type - f2fs_do_write_data_page - f2fs_outplace_write_data - do_write_block - f2fs_allocate_data_block : curseg->segno is valid : f2fs_bug_on(next_blkoff >= BLKS_PER_SEG) Since commit 86f33603f8c5 ("f2fs: handle errors of f2fs_get_meta_page_nofail"), change_curseg() can fail after the curseg has already been switched to the new segment, then the curseg is left in an inconsistent state: it points to a segment which may have no free slot, its summary block is zeroed, and the caller can not restore it. Subsequent block allocation on the curseg will trigger the BUG. Moreover, the writeback thread dies with curseg_lock, curseg_mutex and sentry_lock held, so the commit, shutdown and other I/O threads hang in D state. Since change_curseg() only fails once CP_ERROR_FLAG is set, no checkpoint will be committed afterward, let's invalidate the curseg via reset_curseg_fields() on failure, as new_curseg() does for -ENOSPC, then f2fs_allocate_data_block() will fail with -ENOSPC on the curseg instead of triggering BUG, and do_write_block() can handle the error since CP_ERROR_FLA ---truncated---

Just before this one, two listings for the same software were published: CVE-2026-99804 (2026-11-20), then CVE-2026-99803 (2026-11-20).

A version range is read like an interval, with the lower bound included and the upper bound excluded, unless the publisher states otherwise. Comparing two version numbers is not comparing two numbers. Each part is read separately, from strongest to weakest, and a maintenance release can fix a vulnerability without changing the major number. This is why a site that announces it is "up to date" can still be vulnerable if its version is earlier than the fix bound. The only way to decide is to read the number actually published by the site, then compare it to the bound. When a site publishes no number, no conclusion is possible, and we record "not assessable" rather than assume a version. A flattering assumption is more dangerous than no answer, because it puts people to sleep. Also beware of branches maintained in parallel. A publisher can fix the same vulnerability on three different branches, with three different numbers, and the published bound applies only to the branch it names.

Which software and version are affected by the CVE-2026-99570 vulnerability ?

  • Linux, jusqu'aux versions 1c9ccd9eadf1707a2149c3237b85f1f82ce92702, c8e6c10f95643dd88e73e7daa8ceb1041631920c, c2de116785396df236e311e7643913212fe9fe50, e74476ad8162c1facc74b74ce2d1372492df872e, df5b07f2172a159a4d9f0c280e6ecddba992ba35, 6b67737f2dde60fbad8ddac37c8653e3c3bf0855, 5.5 et 5.10 incluses et à partir des versions 86f33603f8c51537265ff7ac0320638fd2cbdb1b, 5b07f2172a159a4d9f0c280e6ecddba992ba35, 5.4.75 et 5.9.5

The software named above is the one the advisory identifies as vulnerable, along with the affected version range. A range is read as an interval, lower bound included and upper bound excluded, unless the vendor states otherwise. The version published by a site is read from its served files, not from its administration interface, because that is what an attacker sees. A site that declares itself up to date can therefore remain vulnerable if its version is earlier than the fix threshold. Conversely, a backported patch closes the flaw without changing the major number. We therefore never conclude on the sole number displayed by a vendor. When a site publishes no version, we write "not assessable" rather than assume.

Are French sites affected by the CVE-2026-99570 vulnerability ?

No main domain of our estate uses this software, or we have not seen it yet.

The CVE-2026-99570 vulnerability affects Linux up to versions 1c9ccd9eadf1707a2149c3237b85f1f82ce92702, c8e6c10f95643dd88e73e7daa8ceb1041631920c, c2de116785396df236e311e7643913212fe9fe50, e74476ad8162c1facc74b74ce2d1372492df872e, df5b07f2172a159a4d9f0c280e6ecddba992ba35, 6b67737f2dde60fbad8ddac37c8653e3c3bf0855, 5.5 et 5.10 inclusive. No trace of this software in the sites we measure. Our measurement covers websites and their software components, not network hardware or microcode, which expose no version number. The real exposure of this vulnerability stays out of our reach, and we do not put a figure on it. The flaw was published on 20 November 2026. It was updated on 20 November 2026. To fix it, Linux must be updated beyond version 1c9ccd9eadf1707a2149c3237b85f1f82ce92702: any later version is not affected by this flaw. A site that stays below that bound keeps the door open, even if the rest of its components is up to date. The catalogue lists 18 924 flaws on this software since the census began, 8 800 of them in 2026, the oldest dating from 10 January 2015. The estate figures come from our own reading of the versions the sites serve, not from an estimate: a domain that hides its version is not counted, which makes the total lower than the number of sites that use Linux.

How to fix the CVE-2026-99570 vulnerability ?

Fixing is done in a specific order, and that order matters as much as the fix itself. First, identify the version in place, without relying on the administration display, because a number is read in the served files and that is what an attacker sees. Then back up, then update to a version later than the threshold indicated by the publisher. If a direct update is not possible, apply the security patch published for your branch, which closes the flaw without changing major version. Finally verify, by re-reading the number after the operation and confirming that the page that caused the problem still responds. An unverified update is a presumed update. If the software is no longer maintained, the only solid answer is replacement, because an isolated patch on an abandoned branch will not hold against the next flaw. Also consider what surrounds the software. Extensions, modules and themes follow their own schedule, and a core update does not fix a faulty module. Finally, note the date of your fix. It will serve later to prove that the flaw was closed before being exploited.

  1. Identify the installed version of the affected software.
  2. Apply the update that goes beyond the fixed limit published above.
  3. If the update is not possible, disable the component or remove the exposed feature.
  4. Check afterwards that the installed version is well beyond the threshold, using the same command that was used to read it.

Where to find the fix and the proofs for the CVE-2026-99570 vulnerability ?

No public evidence recorded to date. Its absence does not mean nobody exploits it: a successful attack is not published. 4 references published for this flaw, 4 of them shown here. The list starts with what fixes it (commit, patched release, affected code), then the vendor advisory, then public evidence. Each link opens the original source in a new tab.

Other vulnerabilities in the same module

Continue