From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796046075; b=M0x3wHaBR2NshRgVpBf4O9IWls9LJsstXjHdk9AAy+r/JriAKN7koy20+86yvzu63ZIV a6DD7FnqPESZi2m90oD5RbJBHesN8Aj/RHbuwpNVj3TG4pqCXfI5Z21/z4wbiNvvQLBBh Kr64m1ex/TJJlSYe/41S9t0u+Y9y/R9IQcY3YA7qXANUnnb6wx9fzXSxKUlLdDQfXZ/bP Isf+MCnMu2pkKGZCxOWo8QMvwD9GVOsuonfo/Ru01iVF+f3h0J4QoBLu1N1qWgLxfducm WdUTDBKvO3L39Eo/9Z0e3j0bS04YAOqy27ujRtavu81GRz9l9yQjVnpEV5xcxTw0YNg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796046075; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=AzzQ1rYUS75GGez0Zf8E2VPunR6zEtAfXChTdLCOxaE=; b=MADxBdlkccmraQd6zfhJbc2WzByxjcuMSm3XYd/gAik11iJO0DpIbCAFHaXi0XiZOVsZ LDtz2omMdEdUVy3YcN3qNbytJ4Fr0NdETKSThcGZAjomN5LWkwSnGkYTbR6SU44VjxHOD m0d9CLILyZ4ofs2w7E9VLKnoTlAGgRFBOsYlxBkPrriCnArFj7H4itAhEE2azFYiQmHtP 2KFkZKNH1KaHWzDsFRcrvF9YiKuGatdIaFEoDa84Rg47cNl/GOHAROC8m0K872SG+bRjh 4bADYvPMJOlplY81poAwCOtywtCSr8sH47lxL1SXNkctYrt9jE6JZsKkVlM77RDkc/A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SMXDVrTd; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C52A606A31C for ; Mon, 30 Nov 2026 13:41:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SMXDVrTd Received: by smtp.kernel.org (Postfix) with ESMTPSA id 940071F00896; Mon, 30 Nov 2026 13:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796046075; bh=AzzQ1rYUS75GGez0Zf8E2VPunR6zEtAfXChTdLCOxaE=; h=From:To:Cc:Subject:Date:Reply-To; b=SMXDVrTd9NZwNjqOVp05IOPMC8j1uaXbK7sUAY5S+H3KxF/B+/fsysgnt/aLXQ/mC i3ygz4nykenjNP2BnpxqClSMfzKGYdDqUhv9a/ty59tMjn2pAIXNvYdaHXvSxBsydC d2FO0SfPgYQr2fdewahnXJgj/FeE8lvtr39XLL+c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-138837: dm-snapshot: fix crash if dm_io_client_create fails Date: Mon, 30 Nov 2026 14:25:42 +0100 Message-ID: <2026113023-CVE-2026-138837-e77c@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2734; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DZmQCcyc5+w1Au/mEvhsbkf1TB6p6+3xBsh0bEq8s6U=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8lc7lxSdmTP6w+drf6OvX2GSZ7i7IjJt9y0q34oi58 rMJ3pwVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARxwSGBTe857gval1llnDV N5r53oPFyk+37WFYsOno3mi2QNs3555K9LTM5CrgdxaQAAA= 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-snapshot: fix crash if dm_io_client_create fails If dm_io_client_create() fails, it stores error into the ps->io_client variable. The code would try to free it later with dm_io_client_destroy(ps->io_client), causing an invalid pointer dereference. Fix this by setting ps->io_client = NULL. The Linux kernel CVE team has assigned CVE-2026-138837 to this issue. Affected and fixed versions =========================== Fixed in 5.10.275 with commit d1941a047ab477ace3ae3b22c4e552cff86d6661 Fixed in 5.15.226 with commit 5598210206d061f1c4c5a220f0f73ada7821a388 Fixed in 6.1.193 with commit 0b2a42b46f9341f1750179440cacaaf41cbd4500 Fixed in 6.6.163 with commit e233fc4f76029af00004f7a37d11627bbfa1de6d Fixed in 6.12.117 with commit 202187569441cf41663f5352288bc338839c8307 Fixed in 6.18.63 with commit 6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2 Fixed in 7.3.4 with commit e7729f8e7f7773604b8b3003101f9fa392109a71 Fixed in 7.4-rc1 with commit 829c4d21148a205eca864429e06530319e1f92d5 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-138837 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-snap-persistent.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/d1941a047ab477ace3ae3b22c4e552cff86d6661 https://git.kernel.org/stable/c/5598210206d061f1c4c5a220f0f73ada7821a388 https://git.kernel.org/stable/c/0b2a42b46f9341f1750179440cacaaf41cbd4500 https://git.kernel.org/stable/c/e233fc4f76029af00004f7a37d11627bbfa1de6d https://git.kernel.org/stable/c/202187569441cf41663f5352288bc338839c8307 https://git.kernel.org/stable/c/6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2 https://git.kernel.org/stable/c/e7729f8e7f7773604b8b3003101f9fa392109a71 https://git.kernel.org/stable/c/829c4d21148a205eca864429e06530319e1f92d5