CVE-2026-23232

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

Published Mar 4, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical impact

The vulnerability arises in the f2fs filesystem’s block cache write routine, where a write operation and a remount acquire kernel locks in conflicting order. This can freeze the kernel, stopping all system activity and effectively denying service. The weakness is a deadlock scenario, classified as CWE‑667.

Affected Systems

The flaw affects any Linux kernel that incorporates the f2fs filesystem without the revert of commit 196c81fdd438f7ac429d5639090a9816abb9760a. No version list is specified, so all builds that contain the original code path are potentially impacted until the patch is applied.

Risk and Exploitability

The CVSS score is 5.5, indicating medium severity. The EPSS of less than 1% points to a very low probability of exploitation. It is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires a local user able to perform concurrent write operations and remount actions; this requirement is inferred from the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the f2fs deadlock fix or rebuild the kernel with the revert commit 196c81fdd438f7ac429d5639090a9816abb9760a.
  • If updating the kernel is not immediately possible, reapply the revert commit manually to the kernel source tree.
  • During maintenance or high‑risk periods, limit concurrent write operations and remount commands on affected systems to avoid the race condition.

Generated by OpenCVE AI on April 15, 2026 at 17:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-667
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
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
Title Revert "f2fs: block cache/dio write during f2fs_enable_checkpoint()"
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 10:02 PM
Reserved
Jan 13, 2026, 3:37 PM
Status
Analyzed
Published
Mar 4, 2026, 3:16 PM
Modified
Jun 17, 2026, 10:21 AM
Severity
Public date
Mar 4, 2026, 12:00 AM