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 7982F36F8E1 for ; Sat, 15 Aug 2026 06:22:05 +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=1786774926; cv=none; b=Cl6VSaSMNRhEGdGL1u3z22Fo2ciRvsSNHcvHdcjBn2KkP4PZC7gvQCCXRut9+eIli3TEr4A2Z41Iq6NqgSr8sCFu34g4GwZSaRXBPFPaWYBuEbzKCC36bW3BNV0/RKSlOZQH2VpBdZh2nM88F9MoQQr+Y0+OmhiXhxJOdOQyGlg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774926; c=relaxed/simple; bh=nz47tPHwHjuBJE+HqmWo5TSMSojqoSK2uGWEyfwOXkg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=C0vf+48zVSRTSrMoaLVMO8wZdNV65Ei7m1DZEuv14XV/EGkC7hIBxr8iR+oFI3FY0XutcWXZEW1cyhITh1JTgAs76Yw1D3+dfQBejwPIfQvVEvguFr9ncCclPgRMfgNG60+9pHY0KQoteFGwmSnW6M5NejksGGCQLZz1sETna9M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wMT8CSdv; 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="wMT8CSdv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86A6D1F000E9; Sat, 15 Aug 2026 06:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774925; bh=CLWAVEgxcGEsrKg2pj8o9Z59jWn1yTfoe28QnLC88uM=; h=From:To:Cc:Subject:Date:Reply-To; b=wMT8CSdvBO9oKvzYLSvcZnO5bPswdbwoUBBtTuTsSNcjJ8FlwAuquQS/DtvCP6phd R1+zjKmv1e9w0WFbPjJ9D9K6Xjr/kWQv/ua4scoSLvnU3oP5ZCKjna9c4II5WtiEdd AIWarhc2iozNyESIqgT+rdqN6ltGZJfJfX84exwo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72316: dm era: fix NULL pointer dereference in metadata_open() Date: Sat, 15 Aug 2026 15:06:35 +0900 Message-ID: <2026081505-CVE-2026-72316-b09f@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=3633; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=e0VkSTO4AHkvRxfvqb/yZo4g0BvCxFRUfJR/jSzsbxU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDHfL+lUOzHZjt8vXv6Gl8W12Ql75xy+b/m436BQMa k15bP2sI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbiU84wz1LiVWbKTsbqqGUy /GKV3/0LW5e9YZifO900pDCgj2vB2sC3K/aX1J/j198JAA== 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 NULL pointer dereference in metadata_open() metadata_open() returns NULL when kzalloc_obj() fails, but the caller era_ctr() only checks IS_ERR(md). Since IS_ERR(NULL) returns false, the NULL pointer is treated as a valid result and later assigned to era->md, leading to a NULL pointer dereference when the metadata is accessed. Fix this by returning ERR_PTR(-ENOMEM) on allocation failure, consistent with dm-cache-metadata.c, dm-thin-metadata.c, and dm-clone-metadata.c which all use ERR_PTR(-ENOMEM) for the same pattern. The Linux kernel CVE team has assigned CVE-2026-72316 to this issue. Affected and fixed versions =========================== Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 5.10.261 with commit a705e056c2f3dd067fb2ff414f0537530baa090b Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 5.15.212 with commit bd5a80128bdfc93b1cae935a70da000b8c483e6e Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 6.1.178 with commit 17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8 Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 6.6.145 with commit 889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3 Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 6.12.97 with commit 01c49eae7c6256f2d8cc08210a2bac3ee070e43a Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 6.18.40 with commit 14e03ecd3b1b5fc03c082b27a2f8889f8290c30e Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 7.1.5 with commit b69ea153d30ce19ca8997eeeca1e2219fae5a29b Issue introduced in 3.15 with commit eec40579d84873dfb7021eb24c50360f073237c5 and fixed in 7.2-rc3 with commit 9ae672606c17891d90b282e3490b817620549599 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-72316 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/a705e056c2f3dd067fb2ff414f0537530baa090b https://git.kernel.org/stable/c/bd5a80128bdfc93b1cae935a70da000b8c483e6e https://git.kernel.org/stable/c/17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8 https://git.kernel.org/stable/c/889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3 https://git.kernel.org/stable/c/01c49eae7c6256f2d8cc08210a2bac3ee070e43a https://git.kernel.org/stable/c/14e03ecd3b1b5fc03c082b27a2f8889f8290c30e https://git.kernel.org/stable/c/b69ea153d30ce19ca8997eeeca1e2219fae5a29b https://git.kernel.org/stable/c/9ae672606c17891d90b282e3490b817620549599