Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A87AD35C68D for ; Sat, 15 Aug 2026 06:16:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774590; cv=none; b=aI+O9PI3DPWajx8NU8KTu3JGTaEr6Mr4B6jZm6kGJfFyWEfsB2AQB3h/Clcgji/ngy0LRpcBi8bhs2YJwrgCXgk4X/vQrcdUwDXdZX2DXDquOdqomiQZI9xLPErMZd9FoWd8a6HsyZ+SeM0eLbrLgh+pk3rIGUbCU/DJOBstgCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774590; c=relaxed/simple; bh=1m9QsLcZREv+MQXLMf9bbkHgmUfJDJ78PM+RuScZnEI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E0g4ICzzpK6fhAaJ/2jKq9Bohv7RP6g051mJJ1rJ4N6KFFJgVe7NQxGGf3mPboAGbePP4rxkE1KYn937FhBkFdzsVSyhV9Ie7/0CnVxsnUcIwMPulJ1eqoAEmY8RAnuo2BD7gSR7/95I17pKPzTZ7jeDfpyuKgeRJht1NEDRD/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r4kh2xk4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="r4kh2xk4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F40801F000E9; Sat, 15 Aug 2026 06:16:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774589; bh=UaYf5IkpCkfldENgdlneiOHXKe8AXZeKDVWhMKjGDHA=; h=From:To:Cc:Subject:Date:Reply-To; b=r4kh2xk4OggvuPOo2qNPfyABJ3YqqTDL0JQ2sqWyQeD532O5yCvl5xI7SxlQSTU8W yv+SmwUIQ9T0pgy5twGA4Ewx+677b/sm0Ux8HHJ8F3Zr0P5CxpShezCDCHi0FDSlss awLvha9tNIoy9njL99KaJv7Vh1ZaB+WhTuDdWHbs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72205: ntfs: free volume-wide resources on fill_super failure Date: Sat, 15 Aug 2026 15:04:44 +0900 Message-ID: <2026081544-CVE-2026-72205-2217@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3374; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OZvacpkwab6CZ9cqE3K5TQocLMD7SIuL1amM8zDBs98=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDCcOb/HonsDmafJynrIB25WJszcbfbyo+KJiyf2tz L4b+hc7dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEsnIY5hk/mGP5m+Ghg/ul MrvY6JWTzK53pDAsaBI/6dvsul/UvXb+FO3Sd7OfdJ4+AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ntfs: free volume-wide resources on fill_super failure ntfs_fill_super()'s err_out_now path frees only the volume struct via kfree(vol), leaving several vol-owned allocations behind on every mount failure: - vol->nls_map, loaded by ntfs_init_fs_context() via load_nls_default() (or replaced by an explicit nls= option in ntfs_parse_param()), is never unload_nls()'d. - vol->volume_label, allocated by load_system_files() through ntfs_ucstonls() once the $Volume name attribute has been parsed, is not released by load_system_files()'s own error labels nor by the fill_super() inline cleanup that only runs on d_make_root() failure. Any later failure inside load_system_files() leaks it. - vol->lcn_empty_bits_per_page was kvfree()'d in unl_upcase_iput_tmp_ino_err_out_now without clearing the pointer, so it could not be folded into a single common cleanup. Because the failure paths never call ntfs_volume_free() and never reach the d_make_root() inline cleanup block (it sits above the label and is jumped over by the load_system_files() / kvmalloc failure gotos), these resources accumulate per failed mount attempt with no chance of recovery short of unloading the module. This is a silent leak: the inodes loaded prior to failure remain hashed but generic_shutdown_super() skips evict_inodes() when sb->s_root is unset, so no CHECK_DATA_CORRUPTION warning is emitted either. Move the per-volume frees down to err_out_now and drop the lcn_empty_bits_per_page kvfree() from the upper label so the cleanup is performed exactly once on every failure path. Using unconditional kvfree() / kfree() / unload_nls() is safe because they all accept NULL and the upper labels that previously freed nls_map (the d_make_root() inline cleanup) already clear the pointer. The Linux kernel CVE team has assigned CVE-2026-72205 to this issue. Affected and fixed versions =========================== Fixed in 7.1.5 with commit aca3d383a23cb7f3a2849c09fda3974f1838d941 Fixed in 7.2-rc1 with commit a9523a7d3b24b3a6b25ec1eb668ee6618cacf05e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72205 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/ntfs/super.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/aca3d383a23cb7f3a2849c09fda3974f1838d941 https://git.kernel.org/stable/c/a9523a7d3b24b3a6b25ec1eb668ee6618cacf05e