{"id":"CVE-2026-64356","published":"2026-07-25T08:50:14Z","modified":"2026-11-06T16:44:48Z","title":"xfs: fix memory leak in xfs_dqinode_metadir_create()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix memory leak in xfs_dqinode_metadir_create()\n\nIf xfs_metadir_create() fails in xfs_dqinode_metadir_create(), the current\ncode returns directly, leaking the allocated update and transaction state.\nIf the subsequent commit fails, the caller-owned inode reference is left\nbehind.\n\nFix this memory leak by routing the create failure path through\nxfs_metadir_cancel().  For both create and commit failures, finish and\nrelease any inode returned to the caller, mirroring the unwind pattern in\nxfs_metadir_mkdir().\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing\nv6.13-rc1. The tool is still under development and is not yet publicly\navailable. Manual inspection confirms that the bug is still\npresent in v7.1.1.\n\nAn x86_64 allyesconfig build showed no new warnings. Runtime validation\nused kprobe fault injection during `mount -o uquota` on a metadir XFS\nimage. Injecting xfs_metadir_create() reproduced the old active-update path\nthat left mount stuck later in mount setup; after this change, the same\ninjection reported cancel_hits=1 and irele_hits=1. Injecting\nxfs_metadir_commit() exercised the old inode-reference leak path; after\nthis change, it reported irele_hits=1.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00181,"percentile":0.07822,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1","tags":[]},{"url":"https://git.kernel.org/stable/c/06a2e6dbaa26c0740ac76dfa66b0aedc78d05820","tags":[]},{"url":"https://git.kernel.org/stable/c/45de375b25060edf46e20abb36521ba530336ceb","tags":[]}],"priority":{"score":1.6,"factors":[{"name":"EPSS percentile","points":1.56}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1",">= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 06a2e6dbaa26c0740ac76dfa66b0aedc78d05820",">= e80fbe1ad8eff7d7d1363e14f1e493d84dd37c84, < 45de375b25060edf46e20abb36521ba530336ceb"]},{"vendor":"Linux","product":"Linux","versions":["6.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-06T16:36:49.739860Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-48900","exploited":false,"provenance":"source"}}