Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: xfs: fix memory leak in xfs_dqinode_metadir_create() If xfs_metadir_create()… (CVE-2026-64356)

0
Medium
Published: 07/25/2026 (07/25/2026, 12:31:32 UTC)
Source: GCVE Database

Description

A memory leak vulnerability in the Linux kernel's XFS filesystem was identified and resolved. The issue occurs in the function xfs_dqinode_metadir_create() when xfs_metadir_create() fails, causing allocated update and transaction state to leak. Additionally, if a subsequent commit fails, an inode reference is left unreleased. The fix routes failure paths through xfs_metadir_cancel() to properly release resources, mirroring existing unwind patterns. This bug was confirmed present in Linux kernel version 7.1.1 and was detected using an experimental memory-management analysis tool. Runtime validation confirmed the fix prevents mount hangs and inode reference leaks during quota-enabled mounts on XFS metadirs.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:31:55 UTC

Technical Analysis

The vulnerability in the Linux kernel's XFS filesystem involves a memory leak in xfs_dqinode_metadir_create() due to improper handling of failure paths in xfs_metadir_create() and subsequent commit operations. When xfs_metadir_create() fails, the code previously returned directly, leaking allocated update and transaction state. If the commit operation fails afterward, the inode reference owned by the caller was not released. The fix ensures that failure paths are routed through xfs_metadir_cancel(), which properly finishes and releases any inode returned to the caller, following the established unwind pattern used in xfs_metadir_mkdir(). The bug was identified during analysis of kernel version 6.13-rc1 and confirmed to persist in version 7.1.1. Testing with fault injection during mounting with user quotas on XFS metadirs demonstrated the fix's effectiveness in preventing resource leaks and mount hangs.

Potential Impact

The vulnerability causes memory leaks in the kernel's XFS filesystem code, which could lead to resource exhaustion or system instability during quota-enabled mounts on XFS metadirs. While no direct exploit in the wild is known, the leak could degrade system performance or cause mount operations to hang under certain fault conditions.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by routing failure paths through xfs_metadir_cancel() to properly release allocated resources. Users should update to a Linux kernel version that includes this fix. Since no patch links or specific fixed versions are provided, check the vendor or kernel mailing list advisories for the exact fixed version. No additional mitigation steps are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-p28w-6j9h-mmp2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64356"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a65420c9c2644c7f808504b

Added to database: 07/25/2026, 23:09:00 UTC

Last enriched: 07/25/2026, 23:31:55 UTC

Last updated: 07/26/2026, 03:46:34 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses