From mboxrd@z Thu Jan 1 00:00:00 1970 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 74458364929 for ; Sat, 15 Aug 2026 06:17:16 +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=1786774637; cv=none; b=R4wM+SsgmypB5uxvAbtdVe7a4HOUfzluXT+uzKwWX6qALXlJY11yd+lEpZrJ82FsmjpYwff7e12aCl97ooaKYkmnn1PkYewj2mpRdy41owlxqhidchJQZMmoHGcNnwcT4FooIGlfjIA0WXaA+9kAEn++vvW3C9DxxdPVVoav/ms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774637; c=relaxed/simple; bh=jd+NSDrOdaSXOe1ZiV/m5I/PIsyeVCBX1qNnM6a5xLY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ph0QcAePGIVzORuq2LruHYTcILyrxhQPXt+39EE0N1kHF3lWJVzoXiKC6DSsUQAYKErot1ZCYkb3kCl9JH/lAQExOgwR+EkS7Y6TNWifsJs798aQtT8+JjF2WVBUpU7Biv4Ff9xHPrkNV/aZxvUow4DhfqX5xlnjwvj1RlfdjAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ozvtpVII; 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="ozvtpVII" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8857C1F000E9; Sat, 15 Aug 2026 06:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774636; bh=OpG4YFbezJZpRf9Jg6ubiooX813jwGERSVKAeDSab2c=; h=From:To:Cc:Subject:Date:Reply-To; b=ozvtpVIImPJW71bJQ082m1pOhLR173vkcfXP1rxn7P6Sb3UJrKUBOFE0uO8cX/EMZ 3L3nHGFrlMQ0RHaY0ZGs9goPrKIXoLtMJd9UaECcopejr5AEYFD5S6jhMaACdSsJGT AOUqN7W09TZBAWSzmr0iTXzNO5upHND1OYtbfpJ4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72223: nvdimm/btt: Free arena sub-allocations on discover_arenas() error path Date: Sat, 15 Aug 2026 15:05:02 +0900 Message-ID: <2026081547-CVE-2026-72223-9d84@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=3452; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GBf1YYvOtb51uNOain3/coIS1YrBvvFx2nX8c5MN9Xs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDGds808657MbrHYSE89Qz4woqYx1cU09cMlgy3qx6 1uW2s/oiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlsa2RYsFBq/e927s5j65m9 D1SuLE5m1srdwbBg5TF1X7uPW/b8L/vz49kxm7KYiWcWAAA= 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: nvdimm/btt: Free arena sub-allocations on discover_arenas() error path Memory allocated by btt_freelist_init(), btt_rtt_init(), and btt_maplocks_init() is not freed on some discover_arenas() error paths. This leaks memory when arena discovery fails. Add the missing kfree() calls to release the allocations before returning an error. [ as: commit message and log edits ] The Linux kernel CVE team has assigned CVE-2026-72223 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 5.10.261 with commit 2d0364937550a7b3e2592629c2a68753ac020b28 Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 5.15.212 with commit eeb95774bc79268e2b78ebf01d8781560b5bd671 Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 6.1.178 with commit 7563f69caa9143a491d5f26e563255c734751545 Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 6.6.145 with commit 0b0d9404951aacc9717aa61e77af4a6e9e8f8249 Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 6.12.97 with commit 873ced7f345e99f7ee16f9ff226515580332ecc4 Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 6.18.40 with commit 30d490bb2c4cd220e7dedf862ab6a09eb5dcbad5 Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 7.1.5 with commit ba59b96d8d21dc8729fca44a022ca5919c1848c9 Issue introduced in 4.2 with commit 5212e11fde4d40fa627668b4f2222d20db488f71 and fixed in 7.2-rc1 with commit 13fe4cd9ddd0aacb7777812328be525a11ea3fea 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-72223 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: drivers/nvdimm/btt.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/2d0364937550a7b3e2592629c2a68753ac020b28 https://git.kernel.org/stable/c/eeb95774bc79268e2b78ebf01d8781560b5bd671 https://git.kernel.org/stable/c/7563f69caa9143a491d5f26e563255c734751545 https://git.kernel.org/stable/c/0b0d9404951aacc9717aa61e77af4a6e9e8f8249 https://git.kernel.org/stable/c/873ced7f345e99f7ee16f9ff226515580332ecc4 https://git.kernel.org/stable/c/30d490bb2c4cd220e7dedf862ab6a09eb5dcbad5 https://git.kernel.org/stable/c/ba59b96d8d21dc8729fca44a022ca5919c1848c9 https://git.kernel.org/stable/c/13fe4cd9ddd0aacb7777812328be525a11ea3fea