In the Linux kernel, the following vulnerability has been resolved: btrfs: drop recovered reloc root refs on recovery failure During relocation… (CVE-2026-89645)
A vulnerability in the Linux kernel's Btrfs filesystem was resolved involving improper cleanup of relocation root references during relocation recovery failures. Specifically, if an error occurs during recovery, some references to relocation roots may not be properly cleared, potentially leading to resource leaks. The fix ensures that on failure, relocation root pointers are cleared and their references dropped, preventing leftover references after mount failure.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's Btrfs filesystem relates to the handling of relocation root references during relocation recovery. When recovery fails at certain points, such as loading or adding a later root or committing the first transaction, the function btrfs_recover_relocation() exits early without clearing all relocation root references. While put_reloc_control() drops list-owned references, it does not clear fs_root->reloc_root pointers or drop references owned by those pointers. Mount cleanup only clears these references if BTRFS_FS_ERROR is set, which may not happen on errors like -ENOMEM, leaving references behind. The fix involves keeping temporary references during recovery and ensuring that on failure, reloc_root pointers are cleared and references dropped before mount fails. Fault injection testing confirmed that the fix prevents leftover relocation root references after failure.
Potential Impact
The vulnerability can cause resource leaks in the Btrfs filesystem during relocation recovery failures, potentially leading to inconsistent state or resource exhaustion. There is no indication of direct exploitation or security compromise beyond resource management issues. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by properly clearing relocation root references on recovery failure. Users should update to the fixed kernel version when available. Since this is a kernel-level fix, applying the official kernel update from the vendor or distribution is the recommended remediation. Patch status is not explicitly stated in the input; check the vendor advisory for the exact fixed versions and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: btrfs: drop recovered reloc root refs on recovery failure During relocation… (CVE-2026-89645)
Description
A vulnerability in the Linux kernel's Btrfs filesystem was resolved involving improper cleanup of relocation root references during relocation recovery failures. Specifically, if an error occurs during recovery, some references to relocation roots may not be properly cleared, potentially leading to resource leaks. The fix ensures that on failure, relocation root pointers are cleared and their references dropped, preventing leftover references after mount failure.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's Btrfs filesystem relates to the handling of relocation root references during relocation recovery. When recovery fails at certain points, such as loading or adding a later root or committing the first transaction, the function btrfs_recover_relocation() exits early without clearing all relocation root references. While put_reloc_control() drops list-owned references, it does not clear fs_root->reloc_root pointers or drop references owned by those pointers. Mount cleanup only clears these references if BTRFS_FS_ERROR is set, which may not happen on errors like -ENOMEM, leaving references behind. The fix involves keeping temporary references during recovery and ensuring that on failure, reloc_root pointers are cleared and references dropped before mount fails. Fault injection testing confirmed that the fix prevents leftover relocation root references after failure.
Potential Impact
The vulnerability can cause resource leaks in the Btrfs filesystem during relocation recovery failures, potentially leading to inconsistent state or resource exhaustion. There is no indication of direct exploitation or security compromise beyond resource management issues. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by properly clearing relocation root references on recovery failure. Users should update to the fixed kernel version when available. Since this is a kernel-level fix, applying the official kernel update from the vendor or distribution is the recommended remediation. Patch status is not explicitly stated in the input; check the vendor advisory for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m8pq-6746-5gfc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89645"]
Threat ID: 6aa4a00355bf5e2cf5a86626
Added to database: 09/12/2026, 00:42:43 UTC
Last enriched: 09/12/2026, 00:57:01 UTC
Last updated: 09/12/2026, 00:57:01 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.