From mboxrd@z Thu Jan 1 00:00:00 1970 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 67EAC3B8958 for ; Mon, 8 Jun 2026 15:47:40 +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=1780933661; cv=none; b=Iy/6B0As5z9yZC/YnJsVz0zCfOPfobTGQa1c5WXPx1cyV+LOdzAXsUcnw7pPh/3tSGz8ZbaNxTOmUFAbxKZ8thLREUepSW8hPXQmVhybwwL4SYzmbIA4Ci+qZjGFgbmYSKkYBfOXzeQt/zL9AsbdtkEwsUL/zUNZpBmsAfPfepI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933661; c=relaxed/simple; bh=fsFfCRf7ryhHuCXrxeb0/8u0KZwpC9lk27h8jYzqndE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kWLqxuRQpVLO7cJuv+kZEmDMAQXBiCX5q/1M9HpR5t5QxzPxtX8q+f8yEoGpVQ8gD7WL78fCV0wb7++qNiuXm5N1M8mphdHCn0usmry8U6n7QHFcRrYs9afc7yFhbfQpJEm6coATscWUT4UlrenB5gArlBRxVnRQyoh+wXBb58o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t0CG6mh3; 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="t0CG6mh3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79AA61F00893; Mon, 8 Jun 2026 15:47:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933660; bh=CRLfjfZ7pzn5XWk/oPd/7o3PlsX2N8Cje12l8p/S54M=; h=From:To:Cc:Subject:Date:Reply-To; b=t0CG6mh3hW6uuJDNCjFuagoKQSwYtLmvhJomCk+/6yrvTvbt9/vZeD93mys7Clg6M IVathbXFw8KhG7MnNMFrKZT87Sk/oYkISfTjUqz67bW79wV1e57nH1JBM3uV+tsbUl 4ItVlC95G3Ng1C56mzLD/P2NMSXaOdO9ZER+vOCU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46291: crypto: caam - guard HMAC key hex dumps in hash_digest_key Date: Mon, 8 Jun 2026 17:45:59 +0200 Message-ID: <2026060857-CVE-2026-46291-cb3d@gregkh> X-Mailer: git-send-email 2.54.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=2652; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FPJ/0HYBPA8HwvNaOkHGJ+HBSw0zSPaMFbSkcgspHW4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqj7fmzIyQ8/6csu2AUl39//Va06qF2LWbvzvFBNqZ7 nJVZNncEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5KMIwvyT5/se0iDjN/PUX 3s63d7nAseR0BcM8fU7t5Nf/DiidSC1c8m55bEdf4N1dAA== 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: crypto: caam - guard HMAC key hex dumps in hash_digest_key Use print_hex_dump_devel() for dumping sensitive HMAC key bytes in hash_digest_key() to avoid leaking secrets at runtime when CONFIG_DYNAMIC_DEBUG is enabled. The Linux kernel CVE team has assigned CVE-2026-46291 to this issue. Affected and fixed versions =========================== Issue introduced in 3.6 with commit 045e36780f11523e26d1e4a8c78bdc57f4003bd0 and fixed in 6.6.140 with commit 2adbfca7452eeac45117b8e803288a2767f7075f Issue introduced in 3.6 with commit 045e36780f11523e26d1e4a8c78bdc57f4003bd0 and fixed in 6.12.88 with commit c7e52fe3f7901ccb9cd29b3f7c683d809ba87e48 Issue introduced in 3.6 with commit 045e36780f11523e26d1e4a8c78bdc57f4003bd0 and fixed in 6.18.30 with commit 5cffe3c136891aa4d579bf5c079a68f7cb371b0c Issue introduced in 3.6 with commit 045e36780f11523e26d1e4a8c78bdc57f4003bd0 and fixed in 7.0.7 with commit b8f12d9b00c1950779e5679b9c13908584682bb6 Issue introduced in 3.6 with commit 045e36780f11523e26d1e4a8c78bdc57f4003bd0 and fixed in 7.1-rc1 with commit 177730a273b18e195263ed953853273e901b5064 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-46291 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/crypto/caam/caamalg_qi2.c drivers/crypto/caam/caamhash.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/2adbfca7452eeac45117b8e803288a2767f7075f https://git.kernel.org/stable/c/c7e52fe3f7901ccb9cd29b3f7c683d809ba87e48 https://git.kernel.org/stable/c/5cffe3c136891aa4d579bf5c079a68f7cb371b0c https://git.kernel.org/stable/c/b8f12d9b00c1950779e5679b9c13908584682bb6 https://git.kernel.org/stable/c/177730a273b18e195263ed953853273e901b5064