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 277E558B6BF for ; Fri, 11 Sep 2026 19:57:01 +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=1789156630; cv=none; b=I9QFyvCc4iSR7tr+si8gFIYqdNkU9MMf/RUDfUlgdW2QiTp7dw/yPnHcnpHwK9ZriLKBYlEIanhE9CSYb08w2RF/bGpb64ympEnmi0lCLam60T+JwSbKaXoVCQFSk6HAQLvRm8FV/Kf3Ec4GZQxituUJwLKIlaR2/HtxolvWZG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156630; c=relaxed/simple; bh=pp3UKrSwMHiewXDo0zzViaSmcjIFWtaL7Ba09ZknMF0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NWBtwfmK2QKO6/Hh5WUAU+uF0gfarKlfLm8/bjOKq0dlVgl5jjVMFLnv/Tm5ikS7wbRal8mbQYVT1fJAyY9QnO+27dLyds8jZkhemt4/hj4FatRZbaPssajx+9NbqcAiwCJcapglEP/a8b1SCmtmkfORrnA5eZEKO6JN79LVMOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=azoH/rH4; 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="azoH/rH4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D7F51F0089C; Fri, 11 Sep 2026 19:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156616; bh=VA871BUgifGyi5ZPJuhRfA1EJ05uW3OKUtZtuOHVnts=; h=From:To:Cc:Subject:Date:Reply-To; b=azoH/rH47og4oZogG6+n2yPtM1qAnCAC3J/prlt82RpdlKNt28qI+MKHpdMmNUY+2 as386uNGxWVLu7P+ar4gT/OLmuoEq94PaGbMu6Wf1gj2rGVZxX008QKTHEXUCXl2/F Rg3pRRxcnFdweDHMWA77S32VNXVoD8cxfZ3gjtog= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89576: dm-era: fix shadowed superblock leak on take-snap failure Date: Fri, 11 Sep 2026 21:44:25 +0200 Message-ID: <2026091127-CVE-2026-89576-719c@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=2755; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HRdmFbBszKUi5SFL/HeDu2mvcUdAN6B8K8d+8taJibo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLItMTGzxM5mw71VorMveHxZSmM5psrsp3Wmdfliv98 uSXrFhTRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk5VqGBdsma7KX39b7rn/g zIkijtkz/37fMY1hvqvT7uciPQVG6aqB/7cbrnj9xkX3LwA= 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: dm-era: fix shadowed superblock leak on take-snap failure metadata_take_snap() bumps the live superblock refcount and then dm_tm_shadow_block() allocates a new block for the metadata snapshot. If the subsequent dm_sm_inc_block() of writeset_tree_root or era_array_root fails, the function only unlocks the clone and returns. The newly allocated shadow block is never returned to the metadata space map, so each failed take-snap permanently leaks one metadata block. Free the clone with dm_sm_dec_block() on those error paths, matching the final step of metadata_drop_snap(). The Linux kernel CVE team has assigned CVE-2026-89576 to this issue. Affected and fixed versions =========================== Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 6.12.109 with commit d66ceeefb87ddb097b0546bafc581380b816b048 Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 6.18.50 with commit 36ff918637e3517f732188a3c39dbeae5b9cfb1b Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 7.2.4 with commit 6876ca330e741fb8886d12070cb6a7f9cb67257e Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 7.3-rc1 with commit 39c5aa3bd8ec3912d2cd0b3fe092642b0d2b0713 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-89576 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/md/dm-era-target.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/d66ceeefb87ddb097b0546bafc581380b816b048 https://git.kernel.org/stable/c/36ff918637e3517f732188a3c39dbeae5b9cfb1b https://git.kernel.org/stable/c/6876ca330e741fb8886d12070cb6a7f9cb67257e https://git.kernel.org/stable/c/39c5aa3bd8ec3912d2cd0b3fe092642b0d2b0713