CVEBrief

Home / Linux / Linux / CVE-2026-139012

CVE-2026-139012: is it exploited, and which versions of Linux are affected and fixed?

CVE-2026-139012 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: Linux from 5.8 until the fixed versions (CVE record by Linux). Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163 and 2 more (CVE record by Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 30, 2026, 13:35 UTC and NVD November 30, 2026, 15:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
Linux from 5.8 until the fixed versions
CVE record by Linux
Fixed in
5.10.275, 5.15.226, 6.1.193, 6.6.163 and 2 more
CVE record by Linux
Exploit odds (EPSS)
0.21% in 30 days
higher than 12% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-139012?

In the Linux kernel, the following vulnerability has been resolved: f2fs: compress: fix to handle race between truncate and writeback fsstress reports a kernel BUG in f2fs_truncate_partial_cluster(): kernel BUG at fs/f2fs/compress.c:1238! RIP: 0010:f2fs_truncate_partial_cluster+0x292/0x2a0 Call Trace: <TASK> f2fs_truncate+0xf6/0x210 f2fs_setattr+0x6b7/0x770 notify_change+0x33b/0x520 do_truncate+0xc2/0xf0 vfs_truncate+0x153/0x1d0 ksys_truncate+0x78/0xd0 __x64_sys_truncate+0x16/0x20 do_syscall_64+0xbe/0x540 The root cause is that Thread A (truncate) and Thread B (background writeback or fsync) can race as follows: Thread A Thread B - f2fs_setattr - f2fs_truncate - f2fs_truncate_blocks - f2fs_truncate_partial_cluster - f2fs_is_compressed_cluster return 1 - f2fs_write_cache_pages - f2fs_write_multi_pages - f2fs_write_raw_pages - f2fs_write_single_data_page dn.data_blkaddr != COMPRESS_ADDR (cluster converted to normal) - f2fs_prepare_compress_overwrite - f2fs_is_compressed_cluster return 0 - return 0 - f2fs_bug_on(sbi, err == 0): BUG! Writeback path does not acquire i_gc_rwsem or filemap_invalidate_lock. When a compressed cluster fails compression during writeback, it is overwritten with raw data blocks. If Thread A checked f2fs_is_compressed_cluster() before the conversion, but calls f2fs_prepare_compress_overwrite() after the conversion, f2fs_prepare_compress_overwrite() returns 0 because the cluster is no longer a compressed cluster. To fix this, remove the f2fs_bug_on() and retry checking the cluster status when f2fs_prepare_compress_overwrite() returns 0, so that it can fall back to f2fs_do_truncate_blocks() to handle it as a normal cluster.

From the CVE record by Linux, last updated November 30, 2026, 13:27 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 5.8 until the fixed versions5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1

As the CVE record by Linux states it, last updated November 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Is CVE-2026-139012 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.21% probability of exploitation activity in the next 30 days, percentile 12.0 (FIRST EPSS, scores of December 3, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 30, 2026
Published
November 30, 2026, 13:27 UTC
CVE record updated
November 30, 2026, 13:27 UTC by Linux
NVD
Received, last modified November 30, 2026, 14:18 UTC
Last checked
CVE list November 30, 2026, 13:35 UTC; NVD November 30, 2026, 15:09 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2026-139012

Is CVE-2026-139012 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2026-139012?

Linux from 5.8 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2026-139012?

5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117 and 6.18.63, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

Where is the official record of CVE-2026-139012?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.