Skip to main content
VulnerabilityPublished

CVE-2025-40235: Linux kernel · btrfs: directly free partially initialized fs_info in btrfs_check_leaked_roots()

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 25 Nov 2026, 03:38 UTC

Severity
High

Rated High by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 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 24 Nov 2026.

What to do

AI-suggested

Until a fix is available, avoid triggering the vulnerable code path by limiting use of Btrfs subvolume operations that could invoke btrfs_get_tree_subvol().

Description

CVE-2025-40235 is a vulnerability in the Linux kernel's Btrfs filesystem code where a NULL pointer dereference can occur in the btrfs_check_leaked_roots() function. This happens if certain allocations fail during subvolume tree retrieval, leading to an uninitialized pointer being freed and causing a kernel crash (Oops).

References

Community reviews

Loading reviews…