CVE-2026-64356·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: xfs: fix memory leak in xfs_dqinode_metadir_create() If xfs_metadir_create() fails in xfs_dqinode_metadir_create(), the current code returns directly, leaking the allocated update and transaction state. If the subsequent commit fails, the caller-owned inode reference is left behind. Fix this memory leak by routing the create failure path through xfs_metadir_cancel(). For both create and commit failures, finish and release any inode returned to the caller, mirroring the unwind pattern in xfs_metadir_mkdir(). The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1.1. An x86_64 allyesconfig build showed no new warnings. Runtime validation used kprobe fault injection during `mount -o uquota` on a metadir XFS image. Injecting xfs_metadir_create() reproduced the old active-update path that left mount stuck later in mount setup; after this change, the same injection reported cancel_hits=1 and irele_hits=1. Injecting xfs_metadir_commit() exercised the old inode-reference leak path; after this change, it reported irele_hits=1.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to patch a memory leak in the XFS quota inode metadata directory creation function. This vulnerability can cause kernel resource exhaustion during XFS mount operations with quota enforcement enabled. Apply the patch immediately if you use XFS filesystems with user or group quota features.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check kernel version with `uname -r` and compare against 6.19-7.1.3 range to identify vulnerability
- Step 2: Verify XFS quota usage with `mount | grep xfs` and check for quota mount options with `mount | grep -E '(uquota|gquota)'`
- Step 3: Monitor dmesg and kernel logs for failed xfs_metadir_create() operations using `dmesg | grep -i 'xfs.*metadir'` or `journalctl -k | grep -i 'xfs.*metadir'`
- Step 4: After patching, confirm kernel version with `uname -r` shows 7.1.4 or later, then remount XFS volumes with `sudo mount -o remount /mnt/xfs_mount`
FAQ
What is CVE-2026-64356?
This is a memory leak vulnerability in the Linux kernel's XFS filesystem quota initialization code. When XFS attempts to create metadata directories for quota enforcement and encounters a failure, it fails to properly release allocated transaction state and inode references, potentially causing kernel resource depletion during filesystem mount operations.
Is CVE-2026-64356 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. It requires local access and specific XFS quota mount conditions to trigger.
What versions of Kernel are affected by CVE-2026-64356?
Linux kernel versions 6.19 through 7.1.3 are vulnerable. The fix was merged in kernel 7.1.4. Distributions with LTS kernels based on earlier versions (such as those using 6.1.x or 5.15.x) are not affected.
How do I check if my server is vulnerable to CVE-2026-64356?
Run `uname -r` to display your kernel version. If the output shows a version between 6.19 and 7.1.3 (inclusive), and you have XFS filesystems mounted with uquota or gquota options, your system is vulnerable.
Does Defensia detect CVE-2026-64356?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server running a vulnerable version, CVE-2026-64356 will appear in your dashboard with remediation steps and XFS quota configuration details.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64356. Free for 1 server.
Get started free