Skip to main content
VulnerabilityPublished Updated

CVE-2025-37904: Linux kernel · btrfs: fix the inode leak in btrfs_iget()

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 13 Nov 2026, 19:32 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 20 May 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 13 Nov 2026.

What to do

AI-suggested

A fix is available that calls iget_failed() to properly release inodes when btrfs_alloc_path() fails. Users should apply the official Linux kernel patches that address this issue. Since this is a kernel-level bug, upgrading to a fixed kernel version is the recommended remediation. No additional mitigation actions are indicated by the vendor advisory.

Description

CVE-2025-37904 is a medium severity vulnerability in the Linux kernel's Btrfs filesystem code. It involves an inode leak in the btrfs_iget() function that can lead to a kernel bug and system instability during unmount operations. The issue arises when btrfs_alloc_path() fails and the allocated inode is not properly released, causing busy inodes and triggering a kernel BUG. The flaw has been fixed by ensuring iget_failed() is called on failure to properly clean up resources.

References

Community reviews

Loading reviews…