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 914BF352005 for ; Sat, 15 Aug 2026 06:11:26 +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=1786774287; cv=none; b=XFp8sO0I2Wrffx1gihA8yhzZgDeQlfpRM8FTpSElKxyw553adVRzrmdCeQd42crpJKLeHeh6y1PIbOD7Cc5/wKuKq2iexEncIIuTuMqMJ+LLahf9/OSlTkLs9cobdWunn+M0hVKsWTs3C6+ZMGZnICHiPaR2YwVECNeI1gS1Rbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774287; c=relaxed/simple; bh=UdLYZXvNBpHayC8bn/dvmrEbWppO/A8N+Gr38qpuGfo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=re5B86lgOHgbX/ve9RG0M5icW9AlF3KSz84IWZ8k5CWqZjMjPCRtrRpQDPXoEZ+SfTE4owKIzD2wdft181mo/Uq8aImll3E8hVcWpA4IJURJnyDz2ctIMofPQwMICYooCh+/J4NWJsNvegk3B91UDMd2ra04SreBekTnOPTgqQU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1FpqCZbu; 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="1FpqCZbu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9BEA1F000E9; Sat, 15 Aug 2026 06:11:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774286; bh=P/bxGjL4goJyDX/kXpLEVjyNE+BC1SqblexD2QMKKGc=; h=From:To:Cc:Subject:Date:Reply-To; b=1FpqCZbumClRy3elnfHVE6C3QjFNhYqAgRk3jh0WHfDXBgWnglc2h1/Lj1o8UVqIi tOpZbFZ2WnYbCrLDMb3octXU7C3seefulbGQOEJmWO2VmyDRkY6tuYuH4lVUFcXi2H lChMOIYMIjlQ1RvQiBZNOCvxLzjY4U9ES9J/AxcA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72103: dm: avoid leaking the caller's thread keyring via the table device file Date: Sat, 15 Aug 2026 15:03:02 +0900 Message-ID: <2026081525-CVE-2026-72103-9dd2@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=3537; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vc10w44fQmo8EG1ZDUcupotbZSUVfWt2DUTemf7Nino=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDFuXrlCuqj138jlvRP37KYd+m/lw7LiTUpuZXJfcX MXHOX9SRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEay/DgtP5+gznk/ffbVJo SPjxo+PhPxfuPoYFG0KnM3lEeruVPu6wjOvUmreudc4LAA== 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: avoid leaking the caller's thread keyring via the table device file The refactoring in commit a28d893eb327 ("md: port block device access to file") accidentally causes the caller's thread keyring to be kept alive long beyond the caller's lifetime. As a result, "cryptsetup luksSuspend" silently fails to wipe the LUKS volume key from memory. In detail: "cryptsetup luksOpen" uses its supposedly ephemeral thread keyring to pass the volume key to the kernel. dm-crypt's crypt_set_keyring_key() copies the key material into its own crypt_config structure and then drops its own reference to the key in the keyring with key_put(). With this fix, restoring pre-v6.9 behavior, the copy in the thread keyring is then promptly garbage collected, such that exactly one copy of the volume key remains. This single copy is correctly wiped from memory on "cryptsetup luksSuspend". Without this fix, the thread keyring and the volume key in it remains. This second copy is only freed on "luksClose". "luksSuspend" neither knows about this copy nor has any way to remove it, so the key remains recoverable from RAM after a suspend that is documented to have wiped it. This fix should not introduce new security problems, as the code is anyway gated by CAP_SYS_ADMIN. The device-mapper core, not the calling task, is the legitimate owner of this long-lived file. The Linux kernel CVE team has assigned CVE-2026-72103 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit a28d893eb3270cf62c10dd8777af0d8452cdc072 and fixed in 6.12.101 with commit d3eb8451d529ea452740d1a2bc395a1d20c48133 Issue introduced in 6.9 with commit a28d893eb3270cf62c10dd8777af0d8452cdc072 and fixed in 6.18.42 with commit 8ced1d242c34e342defcccdb00663354f212aae6 Issue introduced in 6.9 with commit a28d893eb3270cf62c10dd8777af0d8452cdc072 and fixed in 7.1.5 with commit f00105be6a593920e9bc7949a069d4a116888851 Issue introduced in 6.9 with commit a28d893eb3270cf62c10dd8777af0d8452cdc072 and fixed in 7.2-rc3 with commit 981ccd97f7153d310dfa92a534525bbaf46752c2 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-72103 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.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/d3eb8451d529ea452740d1a2bc395a1d20c48133 https://git.kernel.org/stable/c/8ced1d242c34e342defcccdb00663354f212aae6 https://git.kernel.org/stable/c/f00105be6a593920e9bc7949a069d4a116888851 https://git.kernel.org/stable/c/981ccd97f7153d310dfa92a534525bbaf46752c2