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 B5F0C190666 for ; Tue, 30 Jul 2024 07:51:02 +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=1722325862; cv=none; b=qNbByo4YMBkYheDqipaG0DP/HhLlrr93uFohBKcddoaBnhREcQZG+HGD9iGUEgQVLTo1qxZnkcV05sqVPBuTFLLfldqBX10i8Jqisu5FQNBskxR9IMtGk/O949IHAOt2UJ1AkSy0vKDPCCJYGSoGOqAkW46YdCh1FGuFwudtHwQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325862; c=relaxed/simple; bh=KKoSRDSW4VvAyPLqnT9mbXcHVCQk+ONtQJpEA5m4reI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pKyNC5c+ffDh0YvgGLI2f5e117qC7K/eUunVxE6cCZ7EBfYNWO0AeZ1YJgn4BdNNjbDOW/zeE+EzurGaJvrdbdIyNzism/6KYnGh7FVERdRKv/N4TO9iYOeSAwf08JK2oBPP5F8hqpVAgeYa1mDjwDwaNPXudo45w1dGQlwi6Vk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gf/Zr4FW; 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="gf/Zr4FW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30980C32782; Tue, 30 Jul 2024 07:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325862; bh=KKoSRDSW4VvAyPLqnT9mbXcHVCQk+ONtQJpEA5m4reI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gf/Zr4FWJZuUmS/hUJ3ldKomve5NkSWaz+5XOnj76BKxDucJvUoTKQ+EK/K3q3Q/k juGA70+FtDwYEI9DXjLxWbttBi1d/8V84qb555He6PGB4cpJorzAIn7a3EimGaFCe3 bBrtxYdigJtrCeMCNsWy4TApNnE2XSexdK9H2dEY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42156: s390/pkey: Wipe copies of clear-key structures on failure Date: Tue, 30 Jul 2024 09:48:14 +0200 Message-ID: <2024073035-CVE-2024-42156-1f82@gregkh> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1660; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KKoSRDSW4VvAyPLqnT9mbXcHVCQk+ONtQJpEA5m4reI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZk1ft//FlllfZZl35eq+ejX3mJWFWlBn/rr0RacrW N9dzWm43BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+RjFsODwjo3HSzLYdnce +at961T1l/hvqw8xLNgTdmrmr5WLlu+Vye5f6/qzPPGEUi0A X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Wipe copies of clear-key structures on failure Wipe all sensitive data from stack for all IOCTLs, which convert a clear-key into a protected- or secure-key. The Linux kernel CVE team has assigned CVE-2024-42156 to this issue. Affected and fixed versions =========================== Fixed in 6.9.9 with commit 7f6243edd901 Fixed in 6.10 with commit d65d76a44ffe 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-2024-42156 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/s390/crypto/pkey_api.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/7f6243edd901b75aaece326c90a1cc0dcb60cc3d https://git.kernel.org/stable/c/d65d76a44ffe74c73298ada25b0f578680576073