PT-2026-163054
CVE-2026-139013
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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
- f2fs write multi pages - f2fs down write(&sbi->cp rwsem);
- f2fs write compressed pages - ...
- f2fs trylock op - ...
- f2fs down read trylock(&sbi->cp rwsem); - ...
- f2fs write raw pages - ...
Thread B acquires the lock first, which causes Thread A to fail lock
acquisition and fall back to raw-data write.
IPU FORCE is enabled on small-capacity storage devices (< 16GB),
so f2fs write raw pages() 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.
Found an issue in the description? Have something to add? Feel free to write us 👾