In the Linux kernel, the following vulnerability has been resolved: btrfs: free mapping node on duplicate reloc root insert __add_reloc_root()… (CVE-2026-68450)
A vulnerability in the Linux kernel's btrfs filesystem code was resolved involving a memory management issue. The function __add_reloc_root() allocates a mapping_node but may fail to free it if a duplicate insert is detected, leading to a potential memory leak. This issue occurs because the error path returns without freeing the newly allocated node when a duplicate entry is found. The vulnerability is a defensive cleanup for an unexpected duplicate insert path, which callers currently assert should not happen.
AI Analysis
Technical Summary
The Linux kernel's btrfs subsystem had a vulnerability where __add_reloc_root() allocated a mapping_node before inserting it into the reloc_root_tree. If rb_simple_insert() detected a duplicate entry, it returned the existing node and left the newly allocated node unlinked and not freed. This caused a memory leak since the cleanup function put_reloc_control() could not find the unlinked node to free it. The fix involves freeing the newly allocated node before returning the error code -EEXIST. This vulnerability is a defensive fix for an unexpected duplicate insert scenario.
Potential Impact
The impact is limited to a potential memory leak in the btrfs filesystem code of the Linux kernel if a duplicate reloc root insert occurs. There is no indication of direct exploitation or broader security impact such as privilege escalation or denial of service. The callers currently assert that the duplicate insert should not happen, so this is a defensive fix to prevent resource leakage in an unexpected error path.
Mitigation Recommendations
A fix has been applied to the Linux kernel to free the newly allocated mapping_node on detecting a duplicate insert in __add_reloc_root(). Users should update to a Linux kernel version that includes this fix once available. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: btrfs: free mapping node on duplicate reloc root insert __add_reloc_root()… (CVE-2026-68450)
Description
A vulnerability in the Linux kernel's btrfs filesystem code was resolved involving a memory management issue. The function __add_reloc_root() allocates a mapping_node but may fail to free it if a duplicate insert is detected, leading to a potential memory leak. This issue occurs because the error path returns without freeing the newly allocated node when a duplicate entry is found. The vulnerability is a defensive cleanup for an unexpected duplicate insert path, which callers currently assert should not happen.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's btrfs subsystem had a vulnerability where __add_reloc_root() allocated a mapping_node before inserting it into the reloc_root_tree. If rb_simple_insert() detected a duplicate entry, it returned the existing node and left the newly allocated node unlinked and not freed. This caused a memory leak since the cleanup function put_reloc_control() could not find the unlinked node to free it. The fix involves freeing the newly allocated node before returning the error code -EEXIST. This vulnerability is a defensive fix for an unexpected duplicate insert scenario.
Potential Impact
The impact is limited to a potential memory leak in the btrfs filesystem code of the Linux kernel if a duplicate reloc root insert occurs. There is no indication of direct exploitation or broader security impact such as privilege escalation or denial of service. The callers currently assert that the duplicate insert should not happen, so this is a defensive fix to prevent resource leakage in an unexpected error path.
Mitigation Recommendations
A fix has been applied to the Linux kernel to free the newly allocated mapping_node on detecting a duplicate insert in __add_reloc_root(). Users should update to a Linux kernel version that includes this fix once available. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mmwm-g85r-pjj6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-68450"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b67bf8831d539cdf2aa
Added to database: 08/12/2026, 16:12:23 UTC
Last enriched: 08/12/2026, 17:13:03 UTC
Last updated: 08/13/2026, 00:41:14 UTC
Views: 3
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.