CVE-2026-139013: f2fs: force out-place update for all writes on compressed file

Published Nov 30, 2026
·
Updated

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

f2fs: force out-place update for all writes on compressed file

For compressed file, compressed write may fail and fall back to raw write.

-Thread A - Thread B - f2fswritemultipages - f2fsdownwrite(&sbi->cprwsem); - f2fswritecompressedpages - ... - f2fstrylockop - ... - f2fsdownreadtrylock(&sbi->cprwsem); - ... - f2fswriterawpages - ...

Thread B acquires the lock first, which causes Thread A to fail lock acquisition and fall back to raw-data write. IPUFORCE is enabled on small-capacity storage devices (< 16GB), so f2fswriterawpages() overwrites the original compressed data in-place.

The in-memory node has been updated with raw-data addresses, while the node metadata stored on eMMC still remains in compressed state. If a power-cut occurs before the node is flushed to disk, on-disk inconsistency arises: disk data is raw, yet metadata treats it as a compressed cluster, leading to decompression failure.

To eliminate this risk completely, force out-place update for all write operations on compressed file.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Force out-of-place updates for all write operations on compressed files.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203