Skip to main content
VulnerabilityPublished Updated

CVE-2025-39779: Linux kernel · btrfs: subpage: keep TOWRITE tag until folio is cleaned

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 19 Nov 2026, 02:21 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.

What to do

AI-suggested

A fix is available that corrects the handling of the TOWRITE tag by retaining it until the folio is fully cleaned. Users should apply the official Linux kernel patch that replaces btrfs_subpage_set_writeback() with btrfs_subpage_set_writeback_keepwrite() to prevent the ordering break and kernel crashes.

Description

CVE-2025-39779 is a medium severity vulnerability in the Linux kernel's btrfs filesystem subpage writeback handling. The issue involves premature clearing of the PAGECACHE_TAG_TOWRITE tag during folio writeback, which breaks ordering guarantees required for proper filesystem operation. This can lead to kernel assertion failures and system crashes, particularly on zoned block device setups. The flaw is fixed by retaining the TOWRITE tag until the folio is fully cleaned.

References

Community reviews

Loading reviews…