{"id":"CVE-2026-23234","published":"2026-03-04T14:36:38Z","modified":"2026-05-11T22:02:55Z","title":"f2fs: fix to avoid UAF in f2fs_write_end_io()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to avoid UAF in f2fs_write_end_io()\n\nAs syzbot reported an use-after-free issue in f2fs_write_end_io().\n\nIt is caused by below race condition:\n\nloop device\t\t\t\tumount\n- worker_thread\n - loop_process_work\n  - do_req_filebacked\n   - lo_rw_aio\n    - lo_rw_aio_complete\n     - blk_mq_end_request\n      - blk_update_request\n       - f2fs_write_end_io\n        - dec_page_count\n        - folio_end_writeback\n\t\t\t\t\t- kill_f2fs_super\n\t\t\t\t\t - kill_block_super\n\t\t\t\t\t  - f2fs_put_super\n\t\t\t\t\t : free(sbi)\n       : get_pages(, F2FS_WB_CP_DATA)\n         accessed sbi which is freed\n\nIn kill_f2fs_super(), we will drop all page caches of f2fs inodes before\ncall free(sbi), it guarantee that all folios should end its writeback, so\nit should be safe to access sbi before last folio_end_writeback().\n\nLet's relocate ckpt thread wakeup flow before folio_end_writeback() to\nresolve this issue.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00198,"percentile":0.05554,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0fb58aff0dafd6837cc91f4154f3ed6e020358fa","tags":[]},{"url":"https://git.kernel.org/stable/c/2f67ff1e15a8a4d0e4ffc6564ab20d03d7398fe9","tags":[]},{"url":"https://git.kernel.org/stable/c/505e1c0530db6152cab3feef8e3e4da3d3e358c9","tags":[]},{"url":"https://git.kernel.org/stable/c/acc2c97fc0005846e5cf11b5ba3189fef130c9b3","tags":[]},{"url":"https://git.kernel.org/stable/c/cf4a9e1bc8129eb63fda5f8bdcd8d87f0bd76f42","tags":[]},{"url":"https://git.kernel.org/stable/c/995030be4ce6338c6ff814583c14166446a64008","tags":[]},{"url":"https://git.kernel.org/stable/c/a42f99be8a16b32a0bb91bb6dda212a6ad61be5d","tags":[]},{"url":"https://git.kernel.org/stable/c/ce2739e482bce8d2c014d76c4531c877f382aa54","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < 0fb58aff0dafd6837cc91f4154f3ed6e020358fa",">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < 2f67ff1e15a8a4d0e4ffc6564ab20d03d7398fe9",">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < 505e1c0530db6152cab3feef8e3e4da3d3e358c9",">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < acc2c97fc0005846e5cf11b5ba3189fef130c9b3",">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < cf4a9e1bc8129eb63fda5f8bdcd8d87f0bd76f42",">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < 995030be4ce6338c6ff814583c14166446a64008",">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < a42f99be8a16b32a0bb91bb6dda212a6ad61be5d",">= e234088758fca3a669ebb1a02d8bf7bf60f0e4ff, < ce2739e482bce8d2c014d76c4531c877f382aa54"]},{"vendor":"Linux","product":"Linux","versions":["3.13"]}],"euvd":{"id":"EUVD-2026-9406","exploited":false,"provenance":"source"}}