CVE-2026-64356
xfs: fix memory leak in xfs_dqinode_metadir_create()
Mitigation
- Upgrade Linux to 45de375b25060edf46e20abb36521ba530336ceb or later.
Who should check
- Anyone running Linux >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 45de375b25060edf46e20abb36521ba530336ceb
- Anyone running Linux 6.13
Vulnerability facts
- Affected
- Linux >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 45de375b25060edf46e20abb36521ba530336ceb; Linux 6.13
- Fixed in
- Linux 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820, Linux 45de375b25060edf46e20abb36521ba530336ceb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 45de375b25060edf46e20abb36521ba530336ceb | — | cvelist |
| Linux | 6.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-64356. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-64356.md Affected: Linux >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 45de375b25060edf46e20abb36521ba530336ceb; Linux 6.13 Fixed in: Linux 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820, Linux 45de375b25060edf46e20abb36521ba530336ceb Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-64356 being exploited?
There is no confirmed exploitation: CVE-2026-64356 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-64356?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-64356?
Linux >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820; >= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 45de375b25060edf46e20abb36521ba530336ceb; Linux 6.13.
Is there a fix for CVE-2026-64356?
Yes. Fixed in Linux 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820, Linux 45de375b25060edf46e20abb36521ba530336ceb. Upgrade Linux to 45de375b25060edf46e20abb36521ba530336ceb or later.
How do I check if I'm affected by CVE-2026-64356?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.