CVE-2026-23234

f2fs: fix to avoid UAF in f2fs_write_end_io()

No CVSS score yet EPSS 0.14%

Published 4 Mar 2026 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2026-23234

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23234 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to avoid UAF in f2fs_write_end_io()

As syzbot reported an use-after-free issue in f2fs_write_end_io().

It is caused by below race condition:

loop device umount - worker_thread - loop_process_work - do_req_filebacked - lo_rw_aio - lo_rw_aio_complete - blk_mq_end_request - blk_update_request - f2fs_write_end_io - dec_page_count - folio_end_writeback - kill_f2fs_super - kill_block_super - f2fs_put_super : free(sbi) : get_pages(, F2FS_WB_CP_DATA) accessed sbi which is freed

In kill_f2fs_super(), we will drop all page caches of f2fs inodes before call free(sbi), it guarantee that all folios should end its writeback, so it should be safe to access sbi before last folio_end_writeback().

Let's relocate ckpt thread wakeup flow before folio_end_writeback() to resolve this issue.

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.59% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before 0fb58aff0dafd6837cc91f4154f3ed6e020358fa
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before 2f67ff1e15a8a4d0e4ffc6564ab20d03d7398fe9
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before 505e1c0530db6152cab3feef8e3e4da3d3e358c9
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before acc2c97fc0005846e5cf11b5ba3189fef130c9b3
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before cf4a9e1bc8129eb63fda5f8bdcd8d87f0bd76f42
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before 995030be4ce6338c6ff814583c14166446a64008
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before a42f99be8a16b32a0bb91bb6dda212a6ad61be5d
affected from e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, before ce2739e482bce8d2c014d76c4531c877f382aa54
Other versions: unaffected
Linux
affected 3.13
unaffected before 3.13
unaffected from 5.10.251 up to and including 5.10.*
unaffected from 5.15.201 up to and including 5.15.*
unaffected from 6.1.164 up to and including 6.1.*
unaffected from 6.6.127 up to and including 6.6.*
unaffected from 6.12.74 up to and including 6.12.*
unaffected from 6.18.13 up to and including 6.18.*
unaffected from 6.19.3 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23234 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23234

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23234
trivy image --scanners vuln IMAGE | grep CVE-2026-23234

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23234 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.