CVE-2025-40101: Linux kernel · btrfs: fix memory leaks when rejecting a non SINGLE data profile without an RST
Source GCVE Database
Not known to be exploited.
Data as of 29 Oct 2026, 23:09 UTC
Rated Low by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 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 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to address this memory leak by ensuring proper cleanup of allocated memory in the affected function. Users should update to the fixed kernel version once it is available. No additional mitigation steps are indicated.
Description
A memory leak vulnerability in the Linux kernel's btrfs filesystem code was fixed. The issue occurred when rejecting a non SINGLE data profile without a RAID stripe tree, causing early return that skipped memory cleanup. The fix ensures proper cleanup by setting an error return value and continuing with memory freeing operations.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40101 (opens in a new tab)
- git.kernel.org/stable/c/187333e6d484c6630286bfdd07c79d6815a63887 (opens in a new tab)
- git.kernel.org/stable/c/602701d00439e113331ee9c1283e95afdcb8849d (opens in a new tab)
- git.kernel.org/stable/c/fec9b9d3ced39f16be8d7afdf81f4dd2653da319 (opens in a new tab)