Skip to contentSkip to conversation

CVE-2026-23232: Revert "f2fs: block cache/dio write during f2fs_enable_checkpoint()"

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 4

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

Revert "f2fs: block cache/dio write during f2fs_enable_checkpoint()"

This reverts commit 196c81fdd438f7ac429d5639090a9816abb9760a.

Original patch may cause below deadlock, revert it.

write remount
- write_begin
- lock_page --- lock A
- prepare_write_begin
- f2fs_map_lock
- f2fs_enable_checkpoint
- down_write(cp_enable_rwsem) --- lock B
- sync_inode_sb
- writepages
- lock_page --- lock A
- down_read(cp_enable_rwsem) --- lock A

The Linux kernel CVE team has assigned CVE-2026-23232 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.19 with commit 196c81fdd438f7ac429d5639090a9816abb9760a and fixed in 6.19.3 with commit b6382273801bc7c778545dd8004c9a9d750b4f62
	Issue introduced in 6.19 with commit 196c81fdd438f7ac429d5639090a9816abb9760a and fixed in 7.0-rc1 with commit 3996b70209f145bfcf2afc7d05dd92c27b233b48

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-23232

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	fs/f2fs/data.c
	fs/f2fs/f2fs.h
	fs/f2fs/super.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/b6382273801bc7c778545dd8004c9a9d750b4f62
	https://git.kernel.org/stable/c/3996b70209f145bfcf2afc7d05dd92c27b233b48