Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0DA6F2FBDFD for ; Fri, 24 Apr 2026 14:33:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041221; cv=none; b=iSCVcnrpOFoqOnjs6xPgMunjRZBQsmFdqvPKh7VXuZs1dceuiUA27ekwVYwIE+Lb43dinUnDlTInm/1qZAr80oFxbVKTjxFMOh+8G6FW3JV5rr2Y/NZZr4yTs7t0uwDi5FEWTvavMFQaSmjVqESXxmdbva4Nimvl3/GxKAg3Fx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041221; c=relaxed/simple; bh=h4b7TJeP4msti0ynGMGTqD5bXFpWA5Bhm3KQrhEkrvQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dXA0etZzpMjGrB/ZFvktyXMfzZwJwm4rMqFmMnlGzWGN5xFutCp4QSUFDEt5NpV16hmAXuPkEGt39Kihsc2w0YovY0ddH10GMQvog9p8rpCLTFgnxt+01tb2PnMB5JzBKhq0H3WtYnn1lVpEl9kZ3nueo47EEO5lo8t05BnorjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wIat/dHh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wIat/dHh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64012C19425; Fri, 24 Apr 2026 14:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041220; bh=h4b7TJeP4msti0ynGMGTqD5bXFpWA5Bhm3KQrhEkrvQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=wIat/dHhUMwQefwt6m1KF4Nji2ezrGGTv+mApyzQWMQJc+nK0pW8QfD11Ebkw0bPy gZPYiPk1RGbOVBRMNOMffcqgG/awT9wi+XqfABqihxg9cAoPyraWz09r9WLsR+WKHg g1KCclak781QwiLb+UKE9GVVRqIFUNBtxRvHWVRA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31543: crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying Date: Fri, 24 Apr 2026 16:33:26 +0200 Message-ID: <2026042423-CVE-2026-31543-803c@gregkh> X-Mailer: git-send-email 2.53.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=2181; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tXe2UXgs1qwf7z1cmqds1PW9ZPhHAGJi+pJGih4Ks5E=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv602qs9NqmU8921Ekanxg2nupb7mmv0wF7vVwnXJZu kHivND8jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgInxzD/CKhT5FfHQw3C6s7 LddhksnYJuTLwrDg8t7i+Rb/pW0Edb+llL3hSxVjWbAdAA== 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: crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying When debug logging is enabled, read_key_from_user_keying() logs the first 8 bytes of the key payload and partially exposes the dm-crypt key. Stop logging any key bytes. The Linux kernel CVE team has assigned CVE-2026-31543 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 479e58549b0fa7e80f1e0b9e69e0a2a8e6711132 and fixed in 6.18.20 with commit 4897bd307ba8757c31a3325ba6730961be606016 Issue introduced in 6.16 with commit 479e58549b0fa7e80f1e0b9e69e0a2a8e6711132 and fixed in 6.19.10 with commit ed8d91f469845d62d44c565a55d2ab1767969357 Issue introduced in 6.16 with commit 479e58549b0fa7e80f1e0b9e69e0a2a8e6711132 and fixed in 7.0 with commit 36f46b0e36892eba08978eef7502ff3c94ddba77 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-31543 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: kernel/crash_dump_dm_crypt.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/4897bd307ba8757c31a3325ba6730961be606016 https://git.kernel.org/stable/c/ed8d91f469845d62d44c565a55d2ab1767969357 https://git.kernel.org/stable/c/36f46b0e36892eba08978eef7502ff3c94ddba77