CVE-2025-37904: Linux kernel · btrfs: fix the inode leak in btrfs_iget()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 13 Nov 2026, 19:32 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.