CVE-2026-139013
f2fs: force out-place update for all writes on compressed file
Check your servers for CVE-2026-139013
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139013 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before 43a79e633e5376d5dd98b3eb8f6f5afec8187794 affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before c716b708c3a085d409f5f4d06e7b27f0061de81c affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before 10b703b2815fc6026cab082578e8d14ad90099db affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before 7000891d025ba0b632955febc74256fb03acf7fa affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before 49d7e920a2098fa6763b111924d99630d366af39 affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before 241fcc1d7f9868992510a41fb0427c593440805c affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before 1af1d75f3cf0aa8c7d4a3536e6053f1c4f49c31b affected from 4c8ff7095bef64fc47e996a938f7d57f9e077da3, before a64a3fec11e77a3a0dc0009bdc58b925e45a1bb4
Other versions: unaffected
|
| Linux |
affected 5.6 unaffected before 5.6 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139013 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139013
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139013
trivy image --scanners vuln IMAGE | grep CVE-2026-139013
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/43a79e633e5376d5dd98b3eb8f6f5afec8187794 git.kernel.org
- https://git.kernel.org/stable/c/c716b708c3a085d409f5f4d06e7b27f0061de81c git.kernel.org
- https://git.kernel.org/stable/c/10b703b2815fc6026cab082578e8d14ad90099db git.kernel.org
- https://git.kernel.org/stable/c/7000891d025ba0b632955febc74256fb03acf7fa git.kernel.org
- https://git.kernel.org/stable/c/49d7e920a2098fa6763b111924d99630d366af39 git.kernel.org
- https://git.kernel.org/stable/c/241fcc1d7f9868992510a41fb0427c593440805c git.kernel.org
- https://git.kernel.org/stable/c/1af1d75f3cf0aa8c7d4a3536e6053f1c4f49c31b git.kernel.org
- https://git.kernel.org/stable/c/a64a3fec11e77a3a0dc0009bdc58b925e45a1bb4 git.kernel.org
Source: the record CVE-2026-139013 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse